Struct ghost_actor::GhostSender [−][src]
pub struct GhostSender<E: GhostEvent>(_, _);
Expand description
A provided GhostSender (impl GhostChannelSender) implementation.
Trait Implementations
Forward a GhostEvent along this channel.
Shutdown the actor once all pending messages have been processed. Future completes when the actor is shutdown. Read more
Shutdown the actor immediately. All pending tasks will error.
Returns true if the receiving actor is still running.
Auto Trait Implementations
impl<E> !RefUnwindSafe for GhostSender<E>
impl<E> Send for GhostSender<E>
impl<E> Sync for GhostSender<E>
impl<E> Unpin for GhostSender<E>
impl<E> !UnwindSafe for GhostSender<E>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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
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