pub struct Event {
pub cgroup: u64,
pub tgid: u32,
pub hook: u32,
pub len: u32,
pub netns: u32,
pub cgpath: Option<String>,
pub data: Vec<u8>,
}Fields§
§cgroup: u64§tgid: u32§hook: u32§len: u32The message’s own length.
netns: u32The inode of the network namespace the request acts on; 0 if the probe could not read it.
cgpath: Option<String>The sender’s cgroup path as the kernel had it at the request
(system.slice/foo.service), when the probe read all of it.
data: Vec<u8>The captured bytes of it (captured long).
Implementations§
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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