pub struct LogicalKernelState {
pub transition: TransitionStateV1,
pub syscall: SyscallStateV1,
pub scheduler: SchedulerStateV1,
pub context_vm: ContextVmStateV1,
}Expand description
The versioned logical state of one operation, partitioned as §12.1 requires.
The four fields are a partition: each piece of correctness state appears in exactly one of
them, and the checkpoint header above repeats none of it. That is the property the historical
snapshot lacked — it stored pending effects at the top level, again inside last_step, and a
third time in the resumed-outcome vectors, so “which copy is authoritative” was decided by
whichever restore path happened to run.
Fields§
§transition: TransitionStateV1§syscall: SyscallStateV1§scheduler: SchedulerStateV1§context_vm: ContextVmStateV1Trait Implementations§
Source§impl Clone for LogicalKernelState
impl Clone for LogicalKernelState
Source§fn clone(&self) -> LogicalKernelState
fn clone(&self) -> LogicalKernelState
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 LogicalKernelState
impl Debug for LogicalKernelState
Source§impl<'de> Deserialize<'de> for LogicalKernelState
impl<'de> Deserialize<'de> for LogicalKernelState
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
Source§impl PartialEq for LogicalKernelState
impl PartialEq for LogicalKernelState
Source§impl Serialize for LogicalKernelState
impl Serialize for LogicalKernelState
impl StructuralPartialEq for LogicalKernelState
Auto Trait Implementations§
impl Freeze for LogicalKernelState
impl RefUnwindSafe for LogicalKernelState
impl Send for LogicalKernelState
impl Sync for LogicalKernelState
impl Unpin for LogicalKernelState
impl UnsafeUnpin for LogicalKernelState
impl UnwindSafe for LogicalKernelState
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