pub struct LegacyContextSwitchEvent {
pub provider: Option<Provider>,
pub timestamp: i64,
pub cpu_id: u16,
pub outgoing_thread_state: ThreadState,
pub outgoing_process: ProcessKoid,
pub outgoing_thread: ThreadKoid,
pub outgoing_thread_priority: u8,
pub incoming_process: ProcessKoid,
pub incoming_thread: ThreadKoid,
pub incoming_thread_priority: u8,
}
Fields§
§provider: Option<Provider>
§timestamp: i64
§cpu_id: u16
§outgoing_thread_state: ThreadState
§outgoing_process: ProcessKoid
§outgoing_thread: ThreadKoid
§outgoing_thread_priority: u8
§incoming_process: ProcessKoid
§incoming_thread: ThreadKoid
§incoming_thread_priority: u8
Trait Implementations§
Source§impl Clone for LegacyContextSwitchEvent
impl Clone for LegacyContextSwitchEvent
Source§fn clone(&self) -> LegacyContextSwitchEvent
fn clone(&self) -> LegacyContextSwitchEvent
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 LegacyContextSwitchEvent
impl Debug for LegacyContextSwitchEvent
Source§impl PartialEq for LegacyContextSwitchEvent
impl PartialEq for LegacyContextSwitchEvent
impl StructuralPartialEq for LegacyContextSwitchEvent
Auto Trait Implementations§
impl Freeze for LegacyContextSwitchEvent
impl RefUnwindSafe for LegacyContextSwitchEvent
impl Send for LegacyContextSwitchEvent
impl Sync for LegacyContextSwitchEvent
impl Unpin for LegacyContextSwitchEvent
impl UnwindSafe for LegacyContextSwitchEvent
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
)