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