[][src]Struct act_zero::WeakAddr

pub struct WeakAddr<T: ?Sized>(_);

Weak reference to an actor. If the actor has been dropped, messages sent to the actor will also be dropped.

Implementations

impl<T: ?Sized> WeakAddr<T>[src]

pub fn upcast<U: ?Sized + UpcastFrom<T>>(self) -> WeakAddr<U>[src]

Upcast this actor reference to a trait object (Addr<dyn ActorTrait>)

Trait Implementations

impl<T: ?Sized> Clone for WeakAddr<T>[src]

impl<T: Debug + ?Sized> Debug for WeakAddr<T>[src]

impl<T: ?Sized> Default for WeakAddr<T>[src]

impl<M: Send + 'static, T: Handle<M>> Handle<M> for WeakAddr<T>[src]

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for WeakAddr<T> where
    T: RefUnwindSafe

impl<T: ?Sized> Send for WeakAddr<T> where
    T: Send + Sync

impl<T: ?Sized> Sync for WeakAddr<T> where
    T: Send + Sync

impl<T: ?Sized> Unpin for WeakAddr<T>

impl<T: ?Sized> UnwindSafe for WeakAddr<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, E> IntoResult<T, E> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.