pub struct RelativeMode<C: ClockSource>(/* private fields */);Expand description
Timer that expires after a delay from now.
Trait Implementations§
Source§impl<C: ClockSource> HrTimerMode for RelativeMode<C>
impl<C: ClockSource> HrTimerMode for RelativeMode<C>
Auto Trait Implementations§
impl<C> Freeze for RelativeMode<C>
impl<C> RefUnwindSafe for RelativeMode<C>where
C: RefUnwindSafe,
impl<C> Send for RelativeMode<C>where
C: Send,
impl<C> Sync for RelativeMode<C>where
C: Sync,
impl<C> Unpin for RelativeMode<C>where
C: Unpin,
impl<C> UnsafeUnpin for RelativeMode<C>
impl<C> UnwindSafe for RelativeMode<C>where
C: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.