pub struct TickTimeoutNs<T> { /* private fields */ }Implementations§
Source§impl<T> TickTimeoutNs<T>where
T: TickInstant,
impl<T> TickTimeoutNs<T>where
T: TickInstant,
pub const fn new() -> TickTimeoutNs<T>
Trait Implementations§
Source§impl<T> Default for TickTimeoutNs<T>where
T: Default,
impl<T> Default for TickTimeoutNs<T>where
T: Default,
Source§fn default() -> TickTimeoutNs<T>
fn default() -> TickTimeoutNs<T>
Returns the “default value” for a type. Read more
Source§impl<T> TimeoutNs for TickTimeoutNs<T>where
T: TickInstant,
impl<T> TimeoutNs for TickTimeoutNs<T>where
T: TickInstant,
type TimeoutState = TickTimeoutState<T>
fn start_ns( &self, timeout: u32, ) -> <TickTimeoutNs<T> as TimeoutNs>::TimeoutState
fn start_us( &self, timeout: u32, ) -> <TickTimeoutNs<T> as TimeoutNs>::TimeoutState
fn start_ms( &self, timeout: u32, ) -> <TickTimeoutNs<T> as TimeoutNs>::TimeoutState
fn ns_with(&self, timeout: u32, f: impl FnMut() -> bool) -> bool
fn us_with(&self, timeout: u32, f: impl FnMut() -> bool) -> bool
fn ms_with(&self, 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