pub struct PublisherGate { /* private fields */ }Expand description
A publisher’s view of its node’s
PublishGate.
A managed node’s publisher sends nothing while the node is not active:
publish returns success and the first dropped message logs once, as
rclcpp’s LifecyclePublisher warns. A publisher created off a node (the
executor’s own, or an internal one) carries no gate and always sends.
Public so the C and C++ publishers hold the same thing and drop and report
exactly as a Rust one does. Get one from Executor::publisher_gate.
Implementations§
Trait Implementations§
impl Send for PublisherGate
impl Sync for PublisherGate
Auto Trait Implementations§
impl !Freeze for PublisherGate
impl RefUnwindSafe for PublisherGate
impl Unpin for PublisherGate
impl UnsafeUnpin for PublisherGate
impl UnwindSafe for PublisherGate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more