pub struct TransportImmediates {
link: TransportLinkMeasurement,
is_connected: bool,
messages_sent: u64,
acks_received: u64,
}Fields§
§link: TransportLinkMeasurement§is_connected: bool§messages_sent: u64§acks_received: u64Trait Implementations§
Source§impl Clone for TransportImmediates
impl Clone for TransportImmediates
Source§fn clone(&self) -> TransportImmediates
fn clone(&self) -> TransportImmediates
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 TransportImmediates
impl Debug for TransportImmediates
Source§impl Default for TransportImmediates
impl Default for TransportImmediates
Source§fn default() -> TransportImmediates
fn default() -> TransportImmediates
Returns the “default value” for a type. Read more
Source§impl EdgeImmediateProtocolObservable for TransportImmediates
impl EdgeImmediateProtocolObservable for TransportImmediates
Source§impl EdgeLinkObservable for TransportImmediates
impl EdgeLinkObservable for TransportImmediates
Source§fn record(&mut self, measurement: EdgeTransportMeasurement)
fn record(&mut self, measurement: EdgeTransportMeasurement)
Records a new result of the probe over this path segment.
Source§fn average_latency(&self) -> Option<Duration>
fn average_latency(&self) -> Option<Duration>
Returns average latency observed for the measured peer.
Source§fn average_probe_rate(&self) -> f64
fn average_probe_rate(&self) -> f64
A value representing the average success rate of probes. Read more
Source§impl EdgeNetworkObservableRead for TransportImmediates
impl EdgeNetworkObservableRead for TransportImmediates
Source§fn is_connected(&self) -> bool
fn is_connected(&self) -> bool
Whether this edge represents also an existing physical connection between the peers. Read more
Source§impl PartialEq for TransportImmediates
impl PartialEq for TransportImmediates
impl Copy for TransportImmediates
impl StructuralPartialEq for TransportImmediates
Auto Trait Implementations§
impl Freeze for TransportImmediates
impl RefUnwindSafe for TransportImmediates
impl Send for TransportImmediates
impl Sync for TransportImmediates
impl Unpin for TransportImmediates
impl UnwindSafe for TransportImmediates
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<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