pub struct StorageStateOwnedPinBox;Expand description
Backend for Pin<Box<T>> owned values.
Trait Implementations§
Source§impl MayTransition for StorageStateOwnedPinBox
impl MayTransition for StorageStateOwnedPinBox
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
impl<FromRuntime, ToRuntime> SMapRuntime<FromRuntime, ToRuntime> for StorageStateOwnedPinBox
impl SMove for StorageStateOwnedPinBox
Source§impl SPinMut for StorageStateOwnedPinBox
impl SPinMut for StorageStateOwnedPinBox
Source§impl SPinRef for StorageStateOwnedPinBox
impl SPinRef for StorageStateOwnedPinBox
Source§impl SRef for StorageStateOwnedPinBox
impl SRef for StorageStateOwnedPinBox
Source§impl StateStorage for StorageStateOwnedPinBox
impl StateStorage for StorageStateOwnedPinBox
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
impl StateStorageNew for StorageStateOwnedPinBox
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