pub struct TryAsyncStreamSend<'a, T, E, F> { /* private fields */ }Expand description
A Future which resolves when the dispatched value has been received.
Implementations§
Source§impl<'a, T, E, F> TryAsyncStreamSend<'a, T, E, F>
impl<'a, T, E, F> TryAsyncStreamSend<'a, T, E, F>
Sourcepub fn new(sender: AsyncStreamScope<'a, Result<T, E>>, fut: F) -> Self
pub fn new(sender: AsyncStreamScope<'a, Result<T, E>>, fut: F) -> Self
Construct a new TryAsyncStreamSend from an AsyncStreamScope.
Trait Implementations§
Source§impl<'a, T, E, F> Future for TryAsyncStreamSend<'a, T, E, F>
impl<'a, T, E, F> Future for TryAsyncStreamSend<'a, T, E, F>
impl<T, E, F> Send for TryAsyncStreamSend<'_, T, E, F>
Auto Trait Implementations§
impl<'a, T, E, F> Freeze for TryAsyncStreamSend<'a, T, E, F>where
F: Freeze,
impl<'a, T, E, F> !RefUnwindSafe for TryAsyncStreamSend<'a, T, E, F>
impl<'a, T, E, F> !Sync for TryAsyncStreamSend<'a, T, E, F>
impl<'a, T, E, F> Unpin for TryAsyncStreamSend<'a, T, E, F>where
F: Unpin,
impl<'a, T, E, F> !UnwindSafe for TryAsyncStreamSend<'a, T, E, F>
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