pub struct NetworkLink {
pub from: NodeId,
pub to: NodeId,
pub network: ChaosNetwork,
}Expand description
Simulated network link between two nodes
Fields§
§from: NodeIdSource node
to: NodeIdDestination node
network: ChaosNetworkChaos network for this link
Auto Trait Implementations§
impl Freeze for NetworkLink
impl RefUnwindSafe for NetworkLink
impl Send for NetworkLink
impl Sync for NetworkLink
impl Unpin for NetworkLink
impl UnsafeUnpin for NetworkLink
impl UnwindSafe for NetworkLink
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