pub struct ShadowEdge {
    pub source: u32,
    pub target: u32,
    pub latency: Time<TimePrefix>,
    pub jitter: Time<TimePrefix>,
    pub packet_loss: f32,
}Expand description
A graph edge.
Fields§
§source: u32§target: u32§latency: Time<TimePrefix>§jitter: Time<TimePrefix>§packet_loss: f32Trait Implementations§
Source§impl Debug for ShadowEdge
 
impl Debug for ShadowEdge
Source§impl From<&ShadowEdge> for PathProperties
 
impl From<&ShadowEdge> for PathProperties
Source§fn from(e: &ShadowEdge) -> Self
 
fn from(e: &ShadowEdge) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShadowEdge
 
impl PartialEq for ShadowEdge
Source§impl TryFrom<Edge<'_>> for ShadowEdge
 
impl TryFrom<Edge<'_>> for ShadowEdge
impl StructuralPartialEq for ShadowEdge
Auto Trait Implementations§
impl Freeze for ShadowEdge
impl RefUnwindSafe for ShadowEdge
impl Send for ShadowEdge
impl Sync for ShadowEdge
impl Unpin for ShadowEdge
impl UnwindSafe for ShadowEdge
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> 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