Struct kitsune_p2p_types::tx2::tx2_utils::NotifyAll [−][src]
pub struct NotifyAll(_, _);
Expand description
Many tasks can await on this notify struct. They will all be notified once notify is called.
Implementations
Register a sync cb to be invoked on notify (will be invoked immediately if did_notify())
Wait on this NotifyAll instance.
Has this notify all already been triggered?
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for NotifyAll
impl !UnwindSafe for NotifyAll
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more