pub struct TransportIntermediates {
link: TransportLinkMeasurement,
capacity: Option<u128>,
}Fields§
§link: TransportLinkMeasurement§capacity: Option<u128>Trait Implementations§
Source§impl Clone for TransportIntermediates
impl Clone for TransportIntermediates
Source§fn clone(&self) -> TransportIntermediates
fn clone(&self) -> TransportIntermediates
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 TransportIntermediates
impl Debug for TransportIntermediates
Source§impl Default for TransportIntermediates
impl Default for TransportIntermediates
Source§fn default() -> TransportIntermediates
fn default() -> TransportIntermediates
Returns the “default value” for a type. Read more
Source§impl EdgeLinkObservable for TransportIntermediates
impl EdgeLinkObservable for TransportIntermediates
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 EdgeProtocolObservable for TransportIntermediates
impl EdgeProtocolObservable for TransportIntermediates
Source§impl PartialEq for TransportIntermediates
impl PartialEq for TransportIntermediates
impl Copy for TransportIntermediates
impl StructuralPartialEq for TransportIntermediates
Auto Trait Implementations§
impl Freeze for TransportIntermediates
impl RefUnwindSafe for TransportIntermediates
impl Send for TransportIntermediates
impl Sync for TransportIntermediates
impl Unpin for TransportIntermediates
impl UnwindSafe for TransportIntermediates
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