Struct tractor::Addr[][src]

pub struct Addr<T: Actor>(_);

Address to send an actor a message.

Implementations

impl<T: Actor> Addr<T>[src]

pub fn as_chan(&self) -> &Chan<T::Msg>[src]

pub fn chan(&self) -> Chan<T::Msg>[src]

pub fn into_chan(self) -> Chan<T::Msg>[src]

Trait Implementations

impl<T: Actor> Address<T> for Addr<T>[src]

impl<T: Actor> Clone for Addr<T>[src]

impl<T: Actor> HasLength for Addr<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Addr<T>

impl<T> Send for Addr<T>

impl<T> Sync for Addr<T>

impl<T> Unpin for Addr<T>

impl<T> UnwindSafe for Addr<T>

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> 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.