pub struct KernelPreparedStep {
pub status: KernelPreparationStatus,
pub base_generation: u64,
pub prepare_token: Option<String>,
pub input: KernelInput,
pub step: KernelStep,
}Expand description
Host-visible description of a staged transition. The candidate runtime state remains opaque
inside KernelRuntime; hosts persist input plus step before using the
one-shot token to publish it.
Fields§
§status: KernelPreparationStatus§base_generation: u64Committed runtime generation used to plan this outcome.
prepare_token: Option<String>§input: KernelInput§step: KernelStepTrait Implementations§
Source§impl Clone for KernelPreparedStep
impl Clone for KernelPreparedStep
Source§fn clone(&self) -> KernelPreparedStep
fn clone(&self) -> KernelPreparedStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernelPreparedStep
impl Debug for KernelPreparedStep
Source§impl<'de> Deserialize<'de> for KernelPreparedStep
impl<'de> Deserialize<'de> for KernelPreparedStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KernelPreparedStep
impl RefUnwindSafe for KernelPreparedStep
impl Send for KernelPreparedStep
impl Sync for KernelPreparedStep
impl Unpin for KernelPreparedStep
impl UnsafeUnpin for KernelPreparedStep
impl UnwindSafe for KernelPreparedStep
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