Struct fp_rust::actor::HandleAsync [−][src]
pub struct HandleAsync<Msg> where
Msg: Send + 'static, { /* fields omitted */ }
Trait Implementations
impl<Msg, ContextValue> Actor<Msg, ContextValue, HandleAsync<Msg>, Box<dyn FnMut(&mut ActorAsync<Msg, ContextValue>, Msg, &mut HashMap<String, ContextValue, RandomState>) + Send + Sync + 'static, Global>> for ActorAsync<Msg, ContextValue> where
Msg: Clone + Send + 'static,
ContextValue: Send + 'static,
impl<Msg, ContextValue> Actor<Msg, ContextValue, HandleAsync<Msg>, Box<dyn FnMut(&mut ActorAsync<Msg, ContextValue>, Msg, &mut HashMap<String, ContextValue, RandomState>) + Send + Sync + 'static, Global>> for ActorAsync<Msg, ContextValue> where
Msg: Clone + Send + 'static,
ContextValue: Send + 'static,
fn spawn_with_handle(
&self,
func: Box<dyn FnMut(&mut ActorAsync<Msg, ContextValue>, Msg, &mut HashMap<String, ContextValue>) + Send + Sync + 'static>
) -> HandleAsync<Msg>
Auto Trait Implementations
impl<Msg> RefUnwindSafe for HandleAsync<Msg>
impl<Msg> Send for HandleAsync<Msg>
impl<Msg> Sync for HandleAsync<Msg>
impl<Msg> Unpin for HandleAsync<Msg>
impl<Msg> UnwindSafe for HandleAsync<Msg>
Blanket Implementations
Mutably borrows from an owned value. Read more