pub struct Ready<D> { /* private fields */ }
Available on crate feature
delay
only.Trait Implementations§
Source§impl<D> DelayMs for Ready<D>
impl<D> DelayMs for Ready<D>
Source§type Error = AlreadyStarted
type Error = AlreadyStarted
The error returned on failure.
Source§fn poll_delay_ms(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
fn poll_delay_ms( self: Pin<&mut Self>, _cx: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Poll a delay of
ms
milliseconds.
This function may wake the calling function rather than the waker.fn poll_delay_ms_unpin(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>where
Self: Unpin,
impl<'__pin, D> Unpin for Ready<D>where
PinnedFieldsOf<__Origin<'__pin, D>>: Unpin,
Auto Trait Implementations§
impl<D> Freeze for Ready<D>where
D: Freeze,
impl<D> RefUnwindSafe for Ready<D>where
D: RefUnwindSafe,
impl<D> Send for Ready<D>where
D: Send,
impl<D> Sync for Ready<D>where
D: Sync,
impl<D> UnwindSafe for Ready<D>where
D: 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