Struct elfo_core::ActorGroup [−][src]
Implementations
impl ActorGroup<(), ()>
[src]
impl<R, C> ActorGroup<R, C>
[src]
pub fn config<C1: Config>(self) -> ActorGroup<R, C1>
[src]
pub fn router<R1: Router<C>>(self, router: R1) -> ActorGroup<R1, C>
[src]
pub fn exec<X, O, ER>(self, exec: X) -> Schema where
R: Router<C>,
X: Fn(Context<C, R::Key>) -> O + Send + Sync + 'static,
O: Future<Output = ER> + Send + 'static,
ER: ExecResult,
C: Config,
[src]
R: Router<C>,
X: Fn(Context<C, R::Key>) -> O + Send + Sync + 'static,
O: Future<Output = ER> + Send + 'static,
ER: ExecResult,
C: Config,
Trait Implementations
impl<R: Debug, C: Debug> Debug for ActorGroup<R, C>
[src]
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>,