pub struct KernelDiagnostics {
pub lifecycle: KernelLifecycle,
pub next_step_seq: u64,
pub accepted_input_count: usize,
pub accepted_input_bytes: usize,
pub snapshot_input_limit: usize,
pub snapshot_journal_bytes_limit: usize,
pub max_input_bytes: usize,
pub snapshot_overflowed: bool,
pub recorded_event_count: usize,
pub completed_effect_count: usize,
pub pending_effect_count: usize,
}Expand description
Read-only runtime resource projection. Hosts use this for admission and monitoring; mutating kernel state still requires a versioned input transaction.
Fields§
§lifecycle: KernelLifecycle§next_step_seq: u64§accepted_input_count: usize§accepted_input_bytes: usize§snapshot_input_limit: usize§snapshot_journal_bytes_limit: usize§max_input_bytes: usize§snapshot_overflowed: bool§recorded_event_count: usize§completed_effect_count: usize§pending_effect_count: usizeTrait Implementations§
Source§impl Clone for KernelDiagnostics
impl Clone for KernelDiagnostics
Source§fn clone(&self) -> KernelDiagnostics
fn clone(&self) -> KernelDiagnostics
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 KernelDiagnostics
impl Debug for KernelDiagnostics
Source§impl<'de> Deserialize<'de> for KernelDiagnostics
impl<'de> Deserialize<'de> for KernelDiagnostics
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 KernelDiagnostics
Source§impl PartialEq for KernelDiagnostics
impl PartialEq for KernelDiagnostics
Source§impl Serialize for KernelDiagnostics
impl Serialize for KernelDiagnostics
impl StructuralPartialEq for KernelDiagnostics
Auto Trait Implementations§
impl Freeze for KernelDiagnostics
impl RefUnwindSafe for KernelDiagnostics
impl Send for KernelDiagnostics
impl Sync for KernelDiagnostics
impl Unpin for KernelDiagnostics
impl UnsafeUnpin for KernelDiagnostics
impl UnwindSafe for KernelDiagnostics
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