pub enum SchedulingRecord {
ContextSwitch(ContextSwitchEvent),
ThreadWakeup(ThreadWakeupEvent),
LegacyContextSwitch(LegacyContextSwitchEvent),
}
Variants§
ContextSwitch(ContextSwitchEvent)
ThreadWakeup(ThreadWakeupEvent)
LegacyContextSwitch(LegacyContextSwitchEvent)
Implementations§
Source§impl SchedulingRecord
impl SchedulingRecord
Sourcepub fn process(&self) -> Option<ProcessKoid>
pub fn process(&self) -> Option<ProcessKoid>
The incoming process, if any.
Sourcepub fn thread(&self) -> ThreadKoid
pub fn thread(&self) -> ThreadKoid
The incoming thread, if any.
Trait Implementations§
Source§impl Clone for SchedulingRecord
impl Clone for SchedulingRecord
Source§fn clone(&self) -> SchedulingRecord
fn clone(&self) -> SchedulingRecord
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 moreSource§impl Debug for SchedulingRecord
impl Debug for SchedulingRecord
Source§impl PartialEq for SchedulingRecord
impl PartialEq for SchedulingRecord
impl StructuralPartialEq for SchedulingRecord
Auto Trait Implementations§
impl Freeze for SchedulingRecord
impl RefUnwindSafe for SchedulingRecord
impl Send for SchedulingRecord
impl Sync for SchedulingRecord
impl Unpin for SchedulingRecord
impl UnwindSafe for SchedulingRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)