pub struct SchedulerStats {
pub current_pid: Option<ProcessId>,
pub ready: usize,
pub blocked: usize,
pub zombies: usize,
pub remaining_ticks: usize,
pub total: usize,
}Fields§
§current_pid: Option<ProcessId>§ready: usize§blocked: usize§zombies: usize§remaining_ticks: usize§total: usizeTrait Implementations§
Source§impl Clone for SchedulerStats
impl Clone for SchedulerStats
Source§fn clone(&self) -> SchedulerStats
fn clone(&self) -> SchedulerStats
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 SchedulerStats
Source§impl Debug for SchedulerStats
impl Debug for SchedulerStats
impl Eq for SchedulerStats
Source§impl PartialEq for SchedulerStats
impl PartialEq for SchedulerStats
impl StructuralPartialEq for SchedulerStats
Auto Trait Implementations§
impl Freeze for SchedulerStats
impl RefUnwindSafe for SchedulerStats
impl Send for SchedulerStats
impl Sync for SchedulerStats
impl Unpin for SchedulerStats
impl UnsafeUnpin for SchedulerStats
impl UnwindSafe for SchedulerStats
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