Struct Concat

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

Future for the concat method.

Trait Implementations

impl<'__pin, St: Stream> Unpin for Concat<St> where PinnedFieldsOf<__Origin<'__pin, St>>: Unpin,

impl<St> FusedFuture for Concat<St> where St: FusedStream, St::Item: Extend<<St::Item as IntoIterator>::Item> + IntoIterator + Default,

fn is_terminated(&self) -> bool

impl<St> Future for Concat<St> where St: Stream, St::Item: Extend<<St::Item as IntoIterator>::Item> + IntoIterator + Default,

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

impl<St: Debug + Stream> Debug for Concat<St> where St::Item: Debug,

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

Auto Trait Implementations

impl<St> Freeze for Concat<St> where St: Freeze, Option<<St as Stream>::Item>: Freeze,

impl<St> RefUnwindSafe for Concat<St> where St: RefUnwindSafe, Option<<St as Stream>::Item>: RefUnwindSafe,

impl<St> Send for Concat<St> where St: Send, Option<<St as Stream>::Item>: Send,

impl<St> Sync for Concat<St> where St: Sync, Option<<St as Stream>::Item>: Sync,

impl<St> UnsafeUnpin for Concat<St> where St: UnsafeUnpin, Option<<St as Stream>::Item>: UnsafeUnpin,

impl<St> UnwindSafe for Concat<St> where St: UnwindSafe, Option<<St as Stream>::Item>: UnwindSafe,

Blanket Implementations

impl<F> IntoFuture for Concat<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 Concat<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 Concat<St> where Fut: TryFuture + ?Sized,

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for Concat<St>

fn from(t: T) -> T

Returns the argument unchanged.

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

impl<T, U> Into<U> for Concat<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 Concat<St> where U: Into<T>,

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

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

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