pub struct KernelStateSnapshot {
pub buffer_count: usize,
pub buffer_ids: Vec<BufferId>,
pub event_handlers: usize,
pub event_queue_len: usize,
}Expand description
Snapshot of kernel state for debugging.
Fields§
§buffer_count: usizeNumber of buffers currently loaded.
buffer_ids: Vec<BufferId>List of all buffer IDs.
event_handlers: usizeNumber of event handlers registered.
event_queue_len: usizeNumber of events in the queue.
Trait Implementations§
Source§impl Clone for KernelStateSnapshot
impl Clone for KernelStateSnapshot
Source§fn clone(&self) -> KernelStateSnapshot
fn clone(&self) -> KernelStateSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KernelStateSnapshot
impl RefUnwindSafe for KernelStateSnapshot
impl Send for KernelStateSnapshot
impl Sync for KernelStateSnapshot
impl Unpin for KernelStateSnapshot
impl UnsafeUnpin for KernelStateSnapshot
impl UnwindSafe for KernelStateSnapshot
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