#[repr(C)]pub struct TimeStampMetrics {
pub delta_us: u64,
pub ts_us: u64,
pub tgid: u32,
pub comm: [u8; 16],
pub lport: u16,
pub dport_be: u16,
pub af: u16,
pub saddr_v4: u32,
pub daddr_v4: u32,
pub saddr_v6: [u32; 4],
pub daddr_v6: [u32; 4],
}Fields§
§delta_us: u64§ts_us: u64§tgid: u32§comm: [u8; 16]§lport: u16§dport_be: u16§af: u16§saddr_v4: u32§daddr_v4: u32§saddr_v6: [u32; 4]§daddr_v6: [u32; 4]Trait Implementations§
Source§impl Clone for TimeStampMetrics
impl Clone for TimeStampMetrics
Source§fn clone(&self) -> TimeStampMetrics
fn clone(&self) -> TimeStampMetrics
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 moreimpl Copy for TimeStampMetrics
impl Pod for TimeStampMetrics
Auto Trait Implementations§
impl Freeze for TimeStampMetrics
impl RefUnwindSafe for TimeStampMetrics
impl Send for TimeStampMetrics
impl Sync for TimeStampMetrics
impl Unpin for TimeStampMetrics
impl UnwindSafe for TimeStampMetrics
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request