[][src]Struct meio::Context

pub struct Context<A: Actor> { /* fields omitted */ }

Context of a ActorRuntime that contains Address and Receiver.

Implementations

impl<A: Actor> Context<A>[src]

pub fn address(&mut self) -> &mut Address<A>[src]

Returns an instance of the Address.

pub fn bind(&mut self) -> Supervisor[src]

Returns a Supervisor link of the Actor.

pub fn terminator(&mut self) -> &mut Terminator[src]

Returns a reference to an Address.

Auto Trait Implementations

impl<A> !RefUnwindSafe for Context<A>

impl<A> Send for Context<A>

impl<A> Sync for Context<A>

impl<A> Unpin for Context<A>

impl<A> !UnwindSafe for Context<A>

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,