Struct elfo::ActorGroup[][src]

pub struct ActorGroup<R, C> { /* fields omitted */ }

Implementations

impl ActorGroup<(), ()>[src]

pub fn new() -> ActorGroup<(), ()>[src]

impl<R, C> ActorGroup<R, C>[src]

pub fn config<C1>(self) -> ActorGroup<R, C1> where
    C1: Config
[src]

pub fn router<R1>(self, router: R1) -> ActorGroup<R1, C> where
    R1: Router<C>, 
[src]

pub fn exec<X, O, ER>(self, exec: X) -> Schema where
    C: Config,
    R: Router<C>,
    X: Fn(Context<C, <R as Router<C>>::Key, ()>) -> O + Send + Sync + 'static,
    O: Future<Output = ER> + Send + 'static,
    ER: ExecResult, 
[src]

Trait Implementations

impl<R, C> Debug for ActorGroup<R, C> where
    C: Debug,
    R: Debug
[src]

Auto Trait Implementations

impl<R, C> RefUnwindSafe for ActorGroup<R, C> where
    C: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, C> Send for ActorGroup<R, C> where
    C: Send,
    R: Send

impl<R, C> Sync for ActorGroup<R, C> where
    C: Sync,
    R: Sync

impl<R, C> Unpin for ActorGroup<R, C> where
    C: Unpin,
    R: Unpin

impl<R, C> UnwindSafe for ActorGroup<R, C> where
    C: UnwindSafe,
    R: UnwindSafe

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