pub struct PathTelemetry {
pub id: [u8; 10],
pub path: [u8; 10],
pub timestamp: u128,
}Expand description
TODO: TBD as a separate task for network discovery
Fields§
§id: [u8; 10]§path: [u8; 10]§timestamp: u128Implementations§
Trait Implementations§
Source§impl Clone for PathTelemetry
impl Clone for PathTelemetry
Source§fn clone(&self) -> PathTelemetry
fn clone(&self) -> PathTelemetry
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 moreSource§impl Debug for PathTelemetry
impl Debug for PathTelemetry
Source§impl Display for PathTelemetry
impl Display for PathTelemetry
Source§impl Hash for PathTelemetry
impl Hash for PathTelemetry
Source§impl PartialEq for PathTelemetry
impl PartialEq for PathTelemetry
Source§impl<'a> TryFrom<&'a [u8]> for PathTelemetry
impl<'a> TryFrom<&'a [u8]> for PathTelemetry
impl Copy for PathTelemetry
impl Eq for PathTelemetry
impl StructuralPartialEq for PathTelemetry
Auto Trait Implementations§
impl Freeze for PathTelemetry
impl RefUnwindSafe for PathTelemetry
impl Send for PathTelemetry
impl Sync for PathTelemetry
impl Unpin for PathTelemetry
impl UnwindSafe for PathTelemetry
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP