pub struct StorageStateOwnedBox;Expand description
Backend for Box<T> owned values.
Trait Implementations§
Source§impl MayTransition for StorageStateOwnedBox
impl MayTransition for StorageStateOwnedBox
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 StorageStateOwnedBoxwhere
FromRuntime: StateMachineImpl,
ToRuntime: StateMachineImpl,
impl<FromRuntime, ToRuntime> SMapRuntime<FromRuntime, ToRuntime> for StorageStateOwnedBoxwhere
FromRuntime: StateMachineImpl,
ToRuntime: StateMachineImpl,
impl SMove for StorageStateOwnedBox
Source§impl SMut for StorageStateOwnedBox
impl SMut for StorageStateOwnedBox
Source§impl SRef for StorageStateOwnedBox
impl SRef for StorageStateOwnedBox
Source§impl StateStorage for StorageStateOwnedBox
impl StateStorage for StorageStateOwnedBox
Source§type Inner<T, S> = StateOwned<Box<T>, S>
where
T: StateMachineImpl
type Inner<T, S> = StateOwned<Box<T>, S> where T: StateMachineImpl
Concrete state representation used by this storage backend.
Source§type Machine<T> = Box<T>
where
T: StateMachineImpl
type Machine<T> = Box<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 StorageStateOwnedBox
impl StateStorageNew for StorageStateOwnedBox
Auto Trait Implementations§
impl Freeze for StorageStateOwnedBox
impl RefUnwindSafe for StorageStateOwnedBox
impl Send for StorageStateOwnedBox
impl StateClone for StorageStateOwnedBox
impl StateCopy for StorageStateOwnedBox
impl Sync for StorageStateOwnedBox
impl Unpin for StorageStateOwnedBox
impl UnsafeUnpin for StorageStateOwnedBox
impl UnwindSafe for StorageStateOwnedBox
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