Struct elfo::ActorGroup [−][src]
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]
C1: Config,
pub fn router<R1>(self, router: R1) -> ActorGroup<R1, C> where
R1: Router<C>,
[src]
R1: Router<C>,
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]
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,
Trait Implementations
impl<R, C> Debug for ActorGroup<R, C> where
C: Debug,
R: Debug,
[src]
C: Debug,
R: Debug,
Auto Trait Implementations
impl<R, C> RefUnwindSafe for ActorGroup<R, C> where
C: RefUnwindSafe,
R: RefUnwindSafe,
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, C> Send for ActorGroup<R, C> where
C: Send,
R: Send,
C: Send,
R: Send,
impl<R, C> Sync for ActorGroup<R, C> where
C: Sync,
R: Sync,
C: Sync,
R: Sync,
impl<R, C> Unpin for ActorGroup<R, C> where
C: Unpin,
R: Unpin,
C: Unpin,
R: Unpin,
impl<R, C> UnwindSafe for ActorGroup<R, C> where
C: UnwindSafe,
R: UnwindSafe,
C: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,