[][src]Struct actix_web::actix::msgs::StartActor

pub struct StartActor<A>(_)
where
    A: Actor
;

Start actor in arbiter's thread

Methods

impl<A> StartActor<A> where
    A: Actor<Context = Context<A>>, 
[src]

pub fn new<F>(f: F) -> StartActor<A> where
    F: FnOnce(&mut Context<A>) -> A + Send + 'static, 
[src]

Trait Implementations

impl<A> Message for StartActor<A> where
    A: Actor
[src]

type Result = Addr<A>

The type of value that this message will resolved with if it is successful. Read more

impl<A> Handler<StartActor<A>> for Arbiter where
    A: Actor<Context = Context<A>>, 
[src]

type Result = Addr<A>

The type of value that this handle will return

Auto Trait Implementations

impl<A> Send for StartActor<A>

impl<A> !Sync for StartActor<A>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<T> Erased for T