pub struct FutureReader<T>where
T: 'static,{ /* private fields */ }
Expand description
Represents the readable end of a Component Model future<T>
.
Trait Implementations§
Source§impl<T> Debug for FutureReader<T>
impl<T> Debug for FutureReader<T>
Source§impl<T> Drop for FutureReader<T>
impl<T> Drop for FutureReader<T>
Source§impl<T> IntoFuture for FutureReader<T>
impl<T> IntoFuture for FutureReader<T>
Source§fn into_future(self) -> <FutureReader<T> as IntoFuture>::IntoFuture
fn into_future(self) -> <FutureReader<T> as IntoFuture>::IntoFuture
Convert this object into a Future
which will resolve when a value is
written to the writable end of this future
.
Source§type IntoFuture = FutureRead<T>
type IntoFuture = FutureRead<T>
Which kind of future are we turning this into?
Auto Trait Implementations§
impl<T> !Freeze for FutureReader<T>
impl<T> RefUnwindSafe for FutureReader<T>
impl<T> Send for FutureReader<T>
impl<T> Sync for FutureReader<T>
impl<T> Unpin for FutureReader<T>
impl<T> UnwindSafe for FutureReader<T>
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