[][src]Struct xtra::ActorManager

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

A manager for the actor which handles incoming messages and stores the context. Its managing loop can be started with ActorManager::manage.

Methods

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

pub async fn manage(__arg0: Self)[src]

Starts the manager loop. This will start the actor and allow it to respond to messages.

Trait Implementations

impl<A: Actor> Drop for ActorManager<A>[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for ActorManager<A>

impl<A> Send for ActorManager<A> where
    A: Send

impl<A> !Sync for ActorManager<A>

impl<A> Unpin for ActorManager<A> where
    A: Unpin

impl<A> !UnwindSafe for ActorManager<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.