pub struct Latency { /* private fields */ }Expand description
A rule that delays every packet by a fixed duration.
Apply selectively by src/dst if you want one-way latency — the matcher closure is called for each packet and receives the endpoints.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Latency
impl RefUnwindSafe for Latency
impl Send for Latency
impl Sync for Latency
impl Unpin for Latency
impl UnsafeUnpin for Latency
impl UnwindSafe for Latency
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