pub struct ReadFuture<'p, M, const N: usize>where
M: RawMutex,{ /* private fields */ }
Expand description
Future returned by Pipe::read
and Reader::read
.
Trait Implementations§
Source§impl<'p, M, const N: usize> Debug for ReadFuture<'p, M, N>
impl<'p, M, const N: usize> Debug for ReadFuture<'p, M, N>
Source§impl<'p, M, const N: usize> From<ReadFuture<'p, M, N>> for DynamicReadFuture<'p>where
M: RawMutex,
impl<'p, M, const N: usize> From<ReadFuture<'p, M, N>> for DynamicReadFuture<'p>where
M: RawMutex,
Source§fn from(value: ReadFuture<'p, M, N>) -> Self
fn from(value: ReadFuture<'p, M, N>) -> Self
Converts to this type from the input type.
impl<'p, M, const N: usize> Unpin for ReadFuture<'p, M, N>where
M: RawMutex,
Auto Trait Implementations§
impl<'p, M, const N: usize> Freeze for ReadFuture<'p, M, N>
impl<'p, M, const N: usize> !RefUnwindSafe for ReadFuture<'p, M, N>
impl<'p, M, const N: usize> Send for ReadFuture<'p, M, N>where
M: Sync,
impl<'p, M, const N: usize> Sync for ReadFuture<'p, M, N>where
M: Sync,
impl<'p, M, const N: usize> !UnwindSafe for ReadFuture<'p, M, N>
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more