pub struct StorageStateOwned;Expand description
Backend for directly owned values.
Trait Implementations§
Source§impl MayTransition for StorageStateOwned
impl MayTransition for StorageStateOwned
Source§fn complete_transition<T, From, To, Args>(
state: State<Self, T, From>,
_args: Args,
callsite: TransitionCallsite,
) -> State<Self, T, To>where
T: StateMachineImpl,
From: StateTrait,
To: ConcreteStateTrait,
T::Standin: Transition<From, To>,
<T::Standin as Transition<From, To>>::F: TransitionSignature<Args>,
fn complete_transition<T, From, To, Args>(
state: State<Self, T, From>,
_args: Args,
callsite: TransitionCallsite,
) -> State<Self, T, To>where
T: StateMachineImpl,
From: StateTrait,
To: ConcreteStateTrait,
T::Standin: Transition<From, To>,
<T::Standin as Transition<From, To>>::F: TransitionSignature<Args>,
Retags a state after checking that
Args matches the declared transition signature. Read moreSource§impl<FromRuntime, ToRuntime> SMapRuntime<FromRuntime, ToRuntime> for StorageStateOwnedwhere
FromRuntime: StateMachineImpl,
ToRuntime: StateMachineImpl,
impl<FromRuntime, ToRuntime> SMapRuntime<FromRuntime, ToRuntime> for StorageStateOwnedwhere
FromRuntime: StateMachineImpl,
ToRuntime: StateMachineImpl,
impl SMove for StorageStateOwned
Source§impl SMut for StorageStateOwned
impl SMut for StorageStateOwned
Source§impl SRef for StorageStateOwned
impl SRef for StorageStateOwned
Source§impl StateStorage for StorageStateOwned
impl StateStorage for StorageStateOwned
Source§type Inner<T, S> = StateOwned<T, S>
where
T: StateMachineImpl
type Inner<T, S> = StateOwned<T, S> where T: StateMachineImpl
Concrete state representation used by this storage backend.
Source§type Machine<T> = T
where
T: StateMachineImpl
type Machine<T> = T where T: StateMachineImpl
Type that carries the state-machine implementation contract.
Source§type Inference = OuterInference
type Inference = OuterInference
Selects how
SDiscriminated recovers the current state marker.Source§impl StateStorageNew for StorageStateOwned
impl StateStorageNew for StorageStateOwned
Auto Trait Implementations§
impl Freeze for StorageStateOwned
impl RefUnwindSafe for StorageStateOwned
impl Send for StorageStateOwned
impl StateClone for StorageStateOwned
impl StateCopy for StorageStateOwned
impl Sync for StorageStateOwned
impl Unpin for StorageStateOwned
impl UnsafeUnpin for StorageStateOwned
impl UnwindSafe for StorageStateOwned
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