[−][src]Struct drogue_embedded_timer::Delay
A blocking delay
Implementations
impl<'a, Clock> Delay<'a, Clock> where
Clock: Clock, [src]
Clock: Clock,
pub fn new(clock: &'a Clock) -> Self[src]
Construct a new Delay. Probably preferable to use Clock::delay(), though.
pub fn delay<Delay>(&self, delay: Delay) where
Delay: Duration + FixedPoint,
Clock::T: TryFrom<Delay::T>, [src]
Delay: Duration + FixedPoint,
Clock::T: TryFrom<Delay::T>,
Perform a blocking delay for at least the specified amount of time. The actual amount of delay time is dependent on the precision of the underlying clock.
Trait Implementations
impl<'a, Clock: Clone> Clone for Delay<'a, Clock> where
Clock: Clock, [src]
Clock: Clock,
fn clone(&self) -> Delay<'a, Clock>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'a, Clock: Copy> Copy for Delay<'a, Clock> where
Clock: Clock, [src]
Clock: Clock,
Auto Trait Implementations
impl<'a, Clock> Send for Delay<'a, Clock> where
Clock: Sync,
Clock: Sync,
impl<'a, Clock> Sync for Delay<'a, Clock> where
Clock: Sync,
Clock: Sync,
impl<'a, Clock> Unpin for Delay<'a, Clock>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,