Struct actix::WeakAddr [−][src]
pub struct WeakAddr<A: Actor> { /* fields omitted */ }
Expand description
A weakly referenced counterpart to Addr<A>
.
Implementations
Attempts to upgrade the WeakAddr<A>
pointer to an Addr<A>
.
Returns None
if the actor has since been dropped or the
underlying address is disconnected.
pub fn recipient<M: 'static>(self) -> WeakRecipient<M> where
A: Handler<M>,
A::Context: ToEnvelope<A, M>,
M: Message + Send,
M::Result: Send,
[src]Trait Implementations
Auto Trait Implementations
impl<A> !RefUnwindSafe for WeakAddr<A>
impl<A> !UnwindSafe for WeakAddr<A>
Blanket Implementations
Mutably borrows from an owned value. Read more