pub struct Stateless<ActionHandler: Clone, Args: Clone> {
pub action: ActionHandler,
/* private fields */
}
Expand description
A Ready
type state represents an action which has a handler and a state, and can be
invoked
Fields§
§action: ActionHandler
The action handler for this ready status struct.
Implementations§
Trait Implementations§
Source§impl<ActionHandler: Clone + Clone, Args: Clone + Clone> Clone for Stateless<ActionHandler, Args>
impl<ActionHandler: Clone + Clone, Args: Clone + Clone> Clone for Stateless<ActionHandler, Args>
Auto Trait Implementations§
impl<ActionHandler, Args> Freeze for Stateless<ActionHandler, Args>where
ActionHandler: Freeze,
impl<ActionHandler, Args> RefUnwindSafe for Stateless<ActionHandler, Args>where
ActionHandler: RefUnwindSafe,
Args: RefUnwindSafe,
impl<ActionHandler, Args> Send for Stateless<ActionHandler, Args>
impl<ActionHandler, Args> Sync for Stateless<ActionHandler, Args>
impl<ActionHandler, Args> Unpin for Stateless<ActionHandler, Args>
impl<ActionHandler, Args> UnwindSafe for Stateless<ActionHandler, Args>where
ActionHandler: UnwindSafe,
Args: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more