pub enum ContextSwitchRecord {
In {
prev_pid: Option<i32>,
prev_tid: Option<i32>,
},
Out {
next_pid: Option<i32>,
next_tid: Option<i32>,
preempted: TaskWasPreempted,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ContextSwitchRecord
impl Clone for ContextSwitchRecord
source§fn clone(&self) -> ContextSwitchRecord
fn clone(&self) -> ContextSwitchRecord
Returns a copy 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 more