pub struct Awaiting<T, E: ErrorBounds>(pub Receiver<Result<T, E>>);Expand description
Used to represent data that is pending being available
Tuple Fields§
§0: Receiver<Result<T, E>>Trait Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for Awaiting<T, E>
impl<T, E> !RefUnwindSafe for Awaiting<T, E>
impl<T, E> Send for Awaiting<T, E>where
T: Send,
impl<T, E> Sync for Awaiting<T, E>where
T: Send,
impl<T, E> Unpin for Awaiting<T, E>
impl<T, E> UnsafeUnpin for Awaiting<T, E>
impl<T, E> !UnwindSafe for Awaiting<T, E>
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