pub enum KernelPreparationStatus {
Prepared,
Replayed,
Rejected,
}Expand description
Outcome of staging one kernel input before the host’s durable commit boundary.
Variants§
Prepared
A new accepted transition is staged and must be committed or aborted with prepare_token.
Replayed
The exact event was already committed; no new durable transaction is required.
Rejected
The input was rejected and did not stage any runtime state.
Trait Implementations§
Source§impl Clone for KernelPreparationStatus
impl Clone for KernelPreparationStatus
Source§fn clone(&self) -> KernelPreparationStatus
fn clone(&self) -> KernelPreparationStatus
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 moreimpl Copy for KernelPreparationStatus
Source§impl Debug for KernelPreparationStatus
impl Debug for KernelPreparationStatus
Source§impl<'de> Deserialize<'de> for KernelPreparationStatus
impl<'de> Deserialize<'de> for KernelPreparationStatus
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
impl Eq for KernelPreparationStatus
Source§impl PartialEq for KernelPreparationStatus
impl PartialEq for KernelPreparationStatus
Source§impl Serialize for KernelPreparationStatus
impl Serialize for KernelPreparationStatus
impl StructuralPartialEq for KernelPreparationStatus
Auto Trait Implementations§
impl Freeze for KernelPreparationStatus
impl RefUnwindSafe for KernelPreparationStatus
impl Send for KernelPreparationStatus
impl Sync for KernelPreparationStatus
impl Unpin for KernelPreparationStatus
impl UnsafeUnpin for KernelPreparationStatus
impl UnwindSafe for KernelPreparationStatus
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