pub struct DrainIntoBlockingFuture<'a, 'b, T> { /* private fields */ }Expand description
DrainIntoBlockingFuture is a future for draining all available messages from a channel into a vector, blocking until at least one message is received.
Trait Implementations§
Source§impl<T> Debug for DrainIntoBlockingFuture<'_, '_, T>
impl<T> Debug for DrainIntoBlockingFuture<'_, '_, T>
Source§impl<T> Drop for DrainIntoBlockingFuture<'_, '_, T>
impl<T> Drop for DrainIntoBlockingFuture<'_, '_, T>
Source§impl<T> Future for DrainIntoBlockingFuture<'_, '_, T>
impl<T> Future for DrainIntoBlockingFuture<'_, '_, T>
Auto Trait Implementations§
impl<'a, 'b, T> !Freeze for DrainIntoBlockingFuture<'a, 'b, T>
impl<'a, 'b, T> !RefUnwindSafe for DrainIntoBlockingFuture<'a, 'b, T>
impl<'a, 'b, T> Send for DrainIntoBlockingFuture<'a, 'b, T>where
T: Send,
impl<'a, 'b, T> !Sync for DrainIntoBlockingFuture<'a, 'b, T>
impl<'a, 'b, T> !Unpin for DrainIntoBlockingFuture<'a, 'b, T>
impl<'a, 'b, T> !UnwindSafe for DrainIntoBlockingFuture<'a, 'b, 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
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