[−][src]Struct finny::FsmBackendImpl
The struct that holds the core context and state of the given Finny FSM. Doesn't include environmental traits that can be changed at runtime.
Fields
context: <F as FsmBackend>::Context
states: <F as FsmBackend>::States
current_states: <<F as FsmBackend>::States as FsmStates>::CurrentState
Implementations
impl<F: FsmBackend> FsmBackendImpl<F>
[src]
pub fn new(context: <F as FsmBackend>::Context) -> FsmResult<Self>
[src]
pub fn get_context(&self) -> &<F as FsmBackend>::Context
[src]
pub fn get_current_states(
&self
) -> <<F as FsmBackend>::States as FsmStates>::CurrentState
[src]
&self
) -> <<F as FsmBackend>::States as FsmStates>::CurrentState
pub fn get_state<S>(&self) -> &SⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
where
<F as FsmBackend>::States: AsRef<S>,
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
<F as FsmBackend>::States: AsRef<S>,
Trait Implementations
impl<F: FsmBackend> Deref for FsmBackendImpl<F>
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for FsmBackendImpl<F> where
<F as FsmBackend>::Context: RefUnwindSafe,
<<F as FsmBackend>::States as FsmStates>::CurrentState: RefUnwindSafe,
<F as FsmBackend>::States: RefUnwindSafe,
[src]
<F as FsmBackend>::Context: RefUnwindSafe,
<<F as FsmBackend>::States as FsmStates>::CurrentState: RefUnwindSafe,
<F as FsmBackend>::States: RefUnwindSafe,
impl<F> Send for FsmBackendImpl<F> where
<F as FsmBackend>::Context: Send,
<<F as FsmBackend>::States as FsmStates>::CurrentState: Send,
<F as FsmBackend>::States: Send,
[src]
<F as FsmBackend>::Context: Send,
<<F as FsmBackend>::States as FsmStates>::CurrentState: Send,
<F as FsmBackend>::States: Send,
impl<F> Sync for FsmBackendImpl<F> where
<F as FsmBackend>::Context: Sync,
<<F as FsmBackend>::States as FsmStates>::CurrentState: Sync,
<F as FsmBackend>::States: Sync,
[src]
<F as FsmBackend>::Context: Sync,
<<F as FsmBackend>::States as FsmStates>::CurrentState: Sync,
<F as FsmBackend>::States: Sync,
impl<F> Unpin for FsmBackendImpl<F> where
<F as FsmBackend>::Context: Unpin,
<<F as FsmBackend>::States as FsmStates>::CurrentState: Unpin,
<F as FsmBackend>::States: Unpin,
[src]
<F as FsmBackend>::Context: Unpin,
<<F as FsmBackend>::States as FsmStates>::CurrentState: Unpin,
<F as FsmBackend>::States: Unpin,
impl<F> UnwindSafe for FsmBackendImpl<F> where
<F as FsmBackend>::Context: UnwindSafe,
<<F as FsmBackend>::States as FsmStates>::CurrentState: UnwindSafe,
<F as FsmBackend>::States: UnwindSafe,
[src]
<F as FsmBackend>::Context: UnwindSafe,
<<F as FsmBackend>::States as FsmStates>::CurrentState: UnwindSafe,
<F as FsmBackend>::States: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,