Struct s2n_quic_core::time::NoopClock
source · [−]pub struct NoopClock;Expand description
A clock which always returns a Timestamp of value 1us
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NoopClock
impl Send for NoopClock
impl Sync for NoopClock
impl Unpin for NoopClock
impl UnwindSafe for NoopClock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more