Struct rillrate::CallbackAction [−][src]
pub struct CallbackAction<A, M> {
pub event: A,
pub tag: M,
}
Expand description
An action received by an actor.
It has a tag parameter to differentiate event sources.
The actor has to implement ActionHandler
.
Fields
event: A
An incoming event.
tag: M
An assigned tag.
Trait Implementations
Auto Trait Implementations
impl<A, M> RefUnwindSafe for CallbackAction<A, M> where
A: RefUnwindSafe,
M: RefUnwindSafe,
impl<A, M> Send for CallbackAction<A, M> where
A: Send,
M: Send,
impl<A, M> Sync for CallbackAction<A, M> where
A: Sync,
M: Sync,
impl<A, M> Unpin for CallbackAction<A, M> where
A: Unpin,
M: Unpin,
impl<A, M> UnwindSafe for CallbackAction<A, M> where
A: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more