Struct TryConcat

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct TryConcat<St: TryStream> { /* private fields */ }

Future for the try_concat method.

Trait Implementations

impl<'__pin, St: TryStream> Unpin for TryConcat<St> where PinnedFieldsOf<__Origin<'__pin, St>>: Unpin,

impl<St> Future for TryConcat<St> where St: TryStream, St::Ok: Extend<<St::Ok as IntoIterator>::Item> + IntoIterator + Default,

type Output = Result<<St as TryStream>::Ok, <St as TryStream>::Error>;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

impl<St: Debug + TryStream> Debug for TryConcat<St> where St::Ok: Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<St> Freeze for TryConcat<St> where St: Freeze, Option<<St as TryStream>::Ok>: Freeze,

impl<St> RefUnwindSafe for TryConcat<St> where St: RefUnwindSafe, Option<<St as TryStream>::Ok>: RefUnwindSafe,

impl<St> Send for TryConcat<St> where St: Send, Option<<St as TryStream>::Ok>: Send,

impl<St> Sync for TryConcat<St> where St: Sync, Option<<St as TryStream>::Ok>: Sync,

impl<St> UnsafeUnpin for TryConcat<St> where St: UnsafeUnpin, Option<<St as TryStream>::Ok>: UnsafeUnpin,

impl<St> UnwindSafe for TryConcat<St> where St: UnwindSafe, Option<<St as TryStream>::Ok>: UnwindSafe,

Blanket Implementations

impl<F> IntoFuture for TryConcat<St> where F: Future,

type Output = <F as Future>::Output;
type IntoFuture = F;
fn into_future(self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for TryConcat<St> where F: Future<Output = Result<T, E>> + ?Sized,

type Ok = T;
type Error = E;
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for TryConcat<St> where Fut: TryFuture + ?Sized,

impl<T> Any for TryConcat<St> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for TryConcat<St> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for TryConcat<St> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for TryConcat<St>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for TryConcat<St> where T: Future + ?Sized,

impl<T, U> Into<U> for TryConcat<St> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for TryConcat<St> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for TryConcat<St> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>