Struct fxt::ContextSwitchEvent
source · pub struct ContextSwitchEvent {
pub provider: Option<Provider>,
pub cpu_id: u16,
pub timestamp: i64,
pub outgoing_thread_state: ThreadState,
pub outgoing_thread_id: ThreadKoid,
pub incoming_thread_id: ThreadKoid,
pub args: Vec<Arg>,
}
Fields§
§provider: Option<Provider>
§cpu_id: u16
§timestamp: i64
§outgoing_thread_state: ThreadState
§outgoing_thread_id: ThreadKoid
§incoming_thread_id: ThreadKoid
§args: Vec<Arg>
Trait Implementations§
source§impl Clone for ContextSwitchEvent
impl Clone for ContextSwitchEvent
source§fn clone(&self) -> ContextSwitchEvent
fn clone(&self) -> ContextSwitchEvent
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 ContextSwitchEvent
impl Debug for ContextSwitchEvent
source§impl PartialEq for ContextSwitchEvent
impl PartialEq for ContextSwitchEvent
source§fn eq(&self, other: &ContextSwitchEvent) -> bool
fn eq(&self, other: &ContextSwitchEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContextSwitchEvent
Auto Trait Implementations§
impl Freeze for ContextSwitchEvent
impl RefUnwindSafe for ContextSwitchEvent
impl Send for ContextSwitchEvent
impl Sync for ContextSwitchEvent
impl Unpin for ContextSwitchEvent
impl UnwindSafe for ContextSwitchEvent
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