Struct futures_util::sink::SendAll [−][src]
#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct SendAll<'a, Si, St: ?Sized> where
Si: ?Sized,
St: TryStream, { /* fields omitted */ }
This is supported on crate feature
sink
only.Expand description
Future for the send_all
method.
Trait Implementations
impl<Si: ?Sized, St: ?Sized> Debug for SendAll<'_, Si, St> where
Si: Debug,
St: Debug + TryStream,
St::Ok: Debug,
[src]
impl<Si: ?Sized, St: ?Sized> Debug for SendAll<'_, Si, St> where
Si: Debug,
St: Debug + TryStream,
St::Ok: Debug,
[src]impl<Si: ?Sized, St: ?Sized, Ok, Error> Future for SendAll<'_, Si, St> where
Si: Sink<Ok, Error = Error> + Unpin,
St: Stream<Item = Result<Ok, Error>> + Unpin,
[src]
impl<Si: ?Sized, St: ?Sized, Ok, Error> Future for SendAll<'_, Si, St> where
Si: Sink<Ok, Error = Error> + Unpin,
St: Stream<Item = Result<Ok, Error>> + Unpin,
[src]impl<Si: ?Sized, St: ?Sized> Unpin for SendAll<'_, Si, St> where
Si: Unpin,
St: TryStream + Unpin,
[src]
Si: Unpin,
St: TryStream + Unpin,
Auto Trait Implementations
impl<'a, Si: ?Sized, St: ?Sized> RefUnwindSafe for SendAll<'a, Si, St> where
Si: RefUnwindSafe,
St: RefUnwindSafe,
<St as TryStream>::Ok: RefUnwindSafe,
Si: RefUnwindSafe,
St: RefUnwindSafe,
<St as TryStream>::Ok: RefUnwindSafe,
impl<'a, Si: ?Sized, St: ?Sized> Send for SendAll<'a, Si, St> where
Si: Send,
St: Send,
<St as TryStream>::Ok: Send,
Si: Send,
St: Send,
<St as TryStream>::Ok: Send,
impl<'a, Si: ?Sized, St: ?Sized> Sync for SendAll<'a, Si, St> where
Si: Sync,
St: Sync,
<St as TryStream>::Ok: Sync,
Si: Sync,
St: Sync,
<St as TryStream>::Ok: Sync,
impl<'a, Si, St> !UnwindSafe for SendAll<'a, Si, St>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<F> IntoFuture for F where
F: Future,
[src]
impl<F> IntoFuture for F where
F: Future,
[src]type Output = <F as Future>::Output
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
pub fn into_future(self) -> <F as IntoFuture>::Future
[src]
pub fn into_future(self) -> <F as IntoFuture>::Future
[src]🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.