pub struct RawFutureReader<O: FutureOps> { /* private fields */ }Available on crate feature
async only.Expand description
Represents the readable end of a Component Model future<T>.
Implementations§
Trait Implementations§
Source§impl<O: FutureOps> Debug for RawFutureReader<O>
impl<O: FutureOps> Debug for RawFutureReader<O>
Source§impl<O: FutureOps> Drop for RawFutureReader<O>
impl<O: FutureOps> Drop for RawFutureReader<O>
Source§impl<O: FutureOps> IntoFuture for RawFutureReader<O>
impl<O: FutureOps> IntoFuture for RawFutureReader<O>
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Convert this object into a Future which will resolve when a value is
written to the writable end of this future.
Source§type Output = <O as FutureOps>::Payload
type Output = <O as FutureOps>::Payload
The output that the future will produce on completion.
Source§type IntoFuture = RawFutureRead<O>
type IntoFuture = RawFutureRead<O>
Which kind of future are we turning this into?
Auto Trait Implementations§
impl<O> !Freeze for RawFutureReader<O>
impl<O> RefUnwindSafe for RawFutureReader<O>where
O: RefUnwindSafe,
impl<O> Send for RawFutureReader<O>where
O: Send,
impl<O> Sync for RawFutureReader<O>where
O: Sync,
impl<O> Unpin for RawFutureReader<O>where
O: Unpin,
impl<O> UnwindSafe for RawFutureReader<O>where
O: 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