pub struct TickTimeoutNs<T> { /* private fields */ }Trait Implementations§
Source§impl<T> TimeoutNs for TickTimeoutNs<T>where
T: TickInstant,
impl<T> TimeoutNs for TickTimeoutNs<T>where
T: TickInstant,
fn start_ns(timeout: u32) -> impl TimeoutState
fn start_us(timeout: u32) -> impl TimeoutState
fn start_ms(timeout: u32) -> impl TimeoutState
fn ns_with(timeout: u32, f: impl FnMut() -> bool) -> bool
fn us_with(timeout: u32, f: impl FnMut() -> bool) -> bool
fn ms_with(timeout: u32, f: impl FnMut() -> bool) -> bool
Auto Trait Implementations§
impl<T> Freeze for TickTimeoutNs<T>
impl<T> RefUnwindSafe for TickTimeoutNs<T>where
T: RefUnwindSafe,
impl<T> Send for TickTimeoutNs<T>where
T: Send,
impl<T> Sync for TickTimeoutNs<T>where
T: Sync,
impl<T> Unpin for TickTimeoutNs<T>where
T: Unpin,
impl<T> UnwindSafe for TickTimeoutNs<T>where
T: 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