pub struct PublishGate(/* private fields */);Expand description
A managed node’s publishers follow its state. One byte, read and written with plain atomic loads and stores so it needs no compare-and-swap (thumbv6m has none).
A node that is not managed stays UNMANAGED and its publishers always
send. Once its lifecycle machine exists the gate is INACTIVE until the
machine enters active.
Implementations§
Auto Trait Implementations§
impl !Freeze for PublishGate
impl RefUnwindSafe for PublishGate
impl Send for PublishGate
impl Sync for PublishGate
impl Unpin for PublishGate
impl UnsafeUnpin for PublishGate
impl UnwindSafe for PublishGate
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