pub struct RunLifecycle;Expand description
State key for run lifecycle tracking.
Trait Implementations§
Source§impl StateKey for RunLifecycle
impl StateKey for RunLifecycle
const KEY: &'static str = "__runtime.run_lifecycle"
type Value = RunLifecycleState
type Update = RunLifecycleUpdate
fn apply(value: &mut Self::Value, update: Self::Update)
Source§const MERGE: MergeStrategy = MergeStrategy::Exclusive
const MERGE: MergeStrategy = MergeStrategy::Exclusive
Parallel merge strategy. Default:
Exclusive (conflict on concurrent writes).fn encode(value: &Self::Value) -> Result<Value, StateError>
fn decode(value: Value) -> Result<Self::Value, StateError>
Auto Trait Implementations§
impl Freeze for RunLifecycle
impl RefUnwindSafe for RunLifecycle
impl Send for RunLifecycle
impl Sync for RunLifecycle
impl Unpin for RunLifecycle
impl UnsafeUnpin for RunLifecycle
impl UnwindSafe for RunLifecycle
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