#[repr(C)]pub struct SchedSwitchEvent {
pub header: EventHeader,
pub prev_pid: u32,
pub prev_tgid: u32,
pub next_pid: u32,
pub next_tgid: u32,
pub prev_state: i64,
}Expand description
Context switch event
Fields§
§header: EventHeader§prev_pid: u32§prev_tgid: u32§next_pid: u32§next_tgid: u32§prev_state: i64Trait Implementations§
Source§impl Clone for SchedSwitchEvent
impl Clone for SchedSwitchEvent
Source§fn clone(&self) -> SchedSwitchEvent
fn clone(&self) -> SchedSwitchEvent
Returns a duplicate 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 SchedSwitchEvent
impl Debug for SchedSwitchEvent
impl Copy for SchedSwitchEvent
Auto Trait Implementations§
impl Freeze for SchedSwitchEvent
impl RefUnwindSafe for SchedSwitchEvent
impl Send for SchedSwitchEvent
impl Sync for SchedSwitchEvent
impl Unpin for SchedSwitchEvent
impl UnwindSafe for SchedSwitchEvent
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