pub enum TraceRecord {
Event(EventRecord),
Blob(BlobRecord),
UserspaceObj(UserspaceObjRecord),
KernelObj(KernelObjRecord),
Scheduling(SchedulingRecord),
Log(LogRecord),
LargeBlob(LargeBlobRecord),
ProviderEvent {
provider: Provider,
event: ProviderEvent,
},
}
Variants§
Event(EventRecord)
Blob(BlobRecord)
UserspaceObj(UserspaceObjRecord)
KernelObj(KernelObjRecord)
Scheduling(SchedulingRecord)
Log(LogRecord)
LargeBlob(LargeBlobRecord)
ProviderEvent
Implementations§
Source§impl TraceRecord
impl TraceRecord
pub fn process(&self) -> Option<ProcessKoid>
pub fn thread(&self) -> Option<ThreadKoid>
Trait Implementations§
Source§impl Clone for TraceRecord
impl Clone for TraceRecord
Source§fn clone(&self) -> TraceRecord
fn clone(&self) -> TraceRecord
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 TraceRecord
impl Debug for TraceRecord
Source§impl PartialEq for TraceRecord
impl PartialEq for TraceRecord
impl StructuralPartialEq for TraceRecord
Auto Trait Implementations§
impl Freeze for TraceRecord
impl RefUnwindSafe for TraceRecord
impl Send for TraceRecord
impl Sync for TraceRecord
impl Unpin for TraceRecord
impl UnwindSafe for TraceRecord
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
)