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: f32
Trait 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