pub struct WriteFuture<'p, M, const N: usize>where
M: RawMutex,{ /* private fields */ }
Expand description
Future returned by Pipe::write
and Writer::write
.
Trait Implementations§
Source§impl<'p, M, const N: usize> Debug for WriteFuture<'p, M, N>
impl<'p, M, const N: usize> Debug for WriteFuture<'p, M, N>
Source§impl<'p, M, const N: usize> From<WriteFuture<'p, M, N>> for DynamicWriteFuture<'p>where
M: RawMutex,
impl<'p, M, const N: usize> From<WriteFuture<'p, M, N>> for DynamicWriteFuture<'p>where
M: RawMutex,
Source§fn from(value: WriteFuture<'p, M, N>) -> Self
fn from(value: WriteFuture<'p, M, N>) -> Self
Converts to this type from the input type.
impl<'p, M, const N: usize> Unpin for WriteFuture<'p, M, N>where
M: RawMutex,
Auto Trait Implementations§
impl<'p, M, const N: usize> Freeze for WriteFuture<'p, M, N>
impl<'p, M, const N: usize> !RefUnwindSafe for WriteFuture<'p, M, N>
impl<'p, M, const N: usize> Send for WriteFuture<'p, M, N>where
M: Sync,
impl<'p, M, const N: usize> Sync for WriteFuture<'p, M, N>where
M: Sync,
impl<'p, M, const N: usize> !UnwindSafe for WriteFuture<'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