pub struct Fsm<A: Address, S, M, P, E> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<A, S, M, P, E> Behavior for Fsm<A, S, M, P, E>
impl<A, S, M, P, E> Behavior for Fsm<A, S, M, P, E>
type Addr = A
type Msg = M
type Event = User<A, M>
type Sends = Vec<Delivery<A, Never>>
type Ph = Never
type Error = E
type Birth = NoBirths
type Effect = Actions<A, Never, <Fsm<A, S, M, P, E> as Behavior>::Sends, NoBirths>
type Done = Exit<A>
async fn init(&mut self) -> Result<Self::Effect, E>
async fn step(&mut self, event: Self::Event) -> Result<Self::Effect, E>
Auto Trait Implementations§
impl<A, S, M, P, E> Freeze for Fsm<A, S, M, P, E>
impl<A, S, M, P, E> RefUnwindSafe for Fsm<A, S, M, P, E>
impl<A, S, M, P, E> Send for Fsm<A, S, M, P, E>
impl<A, S, M, P, E> Sync for Fsm<A, S, M, P, E>
impl<A, S, M, P, E> Unpin for Fsm<A, S, M, P, E>
impl<A, S, M, P, E> UnsafeUnpin for Fsm<A, S, M, P, E>where
S: UnsafeUnpin,
P: UnsafeUnpin,
impl<A, S, M, P, E> UnwindSafe for Fsm<A, S, M, P, E>
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