#[repr(C)]pub struct TcpPacketRegistry {
pub proto: u8,
pub src_ip: u32,
pub dst_ip: u32,
pub src_port: u16,
pub dst_port: u16,
pub pid: u32,
pub command: [u8; 16],
pub cgroup_id: u64,
}Fields§
§proto: u8§src_ip: u32§dst_ip: u32§src_port: u16§dst_port: u16§pid: u32§command: [u8; 16]§cgroup_id: u64Trait Implementations§
Source§impl Clone for TcpPacketRegistry
impl Clone for TcpPacketRegistry
Source§fn clone(&self) -> TcpPacketRegistry
fn clone(&self) -> TcpPacketRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TcpPacketRegistry
Auto Trait Implementations§
impl Freeze for TcpPacketRegistry
impl RefUnwindSafe for TcpPacketRegistry
impl Send for TcpPacketRegistry
impl Sync for TcpPacketRegistry
impl Unpin for TcpPacketRegistry
impl UnsafeUnpin for TcpPacketRegistry
impl UnwindSafe for TcpPacketRegistry
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more