pub struct LinkConfig {
pub base_latency: Duration,
pub jitter: Duration,
pub drop_rate: f64,
}Fields§
§base_latency: Duration§jitter: Duration§drop_rate: f64Trait Implementations§
Source§impl Clone for LinkConfig
impl Clone for LinkConfig
Source§fn clone(&self) -> LinkConfig
fn clone(&self) -> LinkConfig
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 LinkConfig
impl Debug for LinkConfig
Auto Trait Implementations§
impl Freeze for LinkConfig
impl RefUnwindSafe for LinkConfig
impl Send for LinkConfig
impl Sync for LinkConfig
impl Unpin for LinkConfig
impl UnsafeUnpin for LinkConfig
impl UnwindSafe for LinkConfig
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