Trait State

Source
pub trait State:
    Send
    + Sync
    + AsAny
    + 'static { }
Expand description

State trait to implement a state for Bastion

Trait Implementations§

Source§

impl Debug for dyn State

Default debug implementation for dynamically dispatched state

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementors§

Source§

impl<T> State for T
where T: Send + Sync + 'static,

Blanket implementation for the state when rules apply