pub struct FsmTransition<S, D> {
pub next: S,
pub data: D,
pub timeout: Option<Duration>,
}Fields§
§next: S§data: D§timeout: Option<Duration>Trait Implementations§
Source§impl<S: Clone, D: Clone> Clone for FsmTransition<S, D>
impl<S: Clone, D: Clone> Clone for FsmTransition<S, D>
Source§fn clone(&self) -> FsmTransition<S, D>
fn clone(&self) -> FsmTransition<S, D>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<S: Eq, D: Eq> Eq for FsmTransition<S, D>
impl<S, D> StructuralPartialEq for FsmTransition<S, D>
Auto Trait Implementations§
impl<S, D> Freeze for FsmTransition<S, D>
impl<S, D> RefUnwindSafe for FsmTransition<S, D>where
S: RefUnwindSafe,
D: RefUnwindSafe,
impl<S, D> Send for FsmTransition<S, D>
impl<S, D> Sync for FsmTransition<S, D>
impl<S, D> Unpin for FsmTransition<S, D>
impl<S, D> UnsafeUnpin for FsmTransition<S, D>where
S: UnsafeUnpin,
D: UnsafeUnpin,
impl<S, D> UnwindSafe for FsmTransition<S, D>where
S: UnwindSafe,
D: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.