pub enum Record {
Show 20 variants
Sample(Box<Sample>),
Mmap(Box<Mmap>),
Read(Box<Read>),
Cgroup(Box<Cgroup>),
Ksymbol(Box<Ksymbol>),
TextPoke(Box<TextPoke>),
BpfEvent(Box<BpfEvent>),
CtxSwitch(Box<CtxSwitch>),
Namespaces(Box<Namespaces>),
ItraceStart(Box<ItraceStart>),
Aux(Box<Aux>),
AuxOutputHwId(Box<AuxOutputHwId>),
Comm(Box<Comm>),
Exit(Box<Exit>),
Fork(Box<Fork>),
Throttle(Box<Throttle>),
Unthrottle(Box<Unthrottle>),
LostRecords(Box<LostRecords>),
LostSamples(Box<LostSamples>),
Unknown(Vec<u8>),
}
Expand description
Record types.
This type and all record types can be formatted with the {:-?}
formatter for compact debugging displays.
Variants§
Sample(Box<Sample>)
Mmap(Box<Mmap>)
Read(Box<Read>)
Cgroup(Box<Cgroup>)
Ksymbol(Box<Ksymbol>)
TextPoke(Box<TextPoke>)
BpfEvent(Box<BpfEvent>)
CtxSwitch(Box<CtxSwitch>)
Namespaces(Box<Namespaces>)
ItraceStart(Box<ItraceStart>)
Aux(Box<Aux>)
AuxOutputHwId(Box<AuxOutputHwId>)
Comm(Box<Comm>)
Exit(Box<Exit>)
Fork(Box<Fork>)
Throttle(Box<Throttle>)
Unthrottle(Box<Unthrottle>)
LostRecords(Box<LostRecords>)
LostSamples(Box<LostSamples>)
Unknown(Vec<u8>)
Unknown record type.
This is for compatibility, not ABI.
Trait Implementations§
Source§impl From<Box<AuxOutputHwId>> for Record
impl From<Box<AuxOutputHwId>> for Record
Source§fn from(value: Box<AuxOutputHwId>) -> Self
fn from(value: Box<AuxOutputHwId>) -> Self
Converts to this type from the input type.
Source§impl From<Box<ItraceStart>> for Record
impl From<Box<ItraceStart>> for Record
Source§fn from(value: Box<ItraceStart>) -> Self
fn from(value: Box<ItraceStart>) -> Self
Converts to this type from the input type.
Source§impl From<Box<LostRecords>> for Record
impl From<Box<LostRecords>> for Record
Source§fn from(value: Box<LostRecords>) -> Self
fn from(value: Box<LostRecords>) -> Self
Converts to this type from the input type.
Source§impl From<Box<LostSamples>> for Record
impl From<Box<LostSamples>> for Record
Source§fn from(value: Box<LostSamples>) -> Self
fn from(value: Box<LostSamples>) -> Self
Converts to this type from the input type.
Source§impl From<Box<Namespaces>> for Record
impl From<Box<Namespaces>> for Record
Source§fn from(value: Box<Namespaces>) -> Self
fn from(value: Box<Namespaces>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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