Struct s2n_quic_core::packet::interceptor::loss::Builder
source · pub struct Builder<R> { /* private fields */ }
Implementations§
source§impl<R> Builder<R>
impl<R> Builder<R>
pub fn new(random: R) -> Self
pub fn with_tx_pass(self, range: Range<u64>) -> Self
pub fn with_tx_loss(self, range: Range<u64>) -> Self
pub fn with_rx_pass(self, range: Range<u64>) -> Self
pub fn with_rx_loss(self, range: Range<u64>) -> Self
pub fn build(self) -> Loss<R>
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Builder<R>where
R: Freeze,
impl<R> RefUnwindSafe for Builder<R>where
R: RefUnwindSafe,
impl<R> Send for Builder<R>where
R: Send,
impl<R> Sync for Builder<R>where
R: Sync,
impl<R> Unpin for Builder<R>where
R: Unpin,
impl<R> UnwindSafe for Builder<R>where
R: UnwindSafe,
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