Struct Unzip

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

Future for the unzip method.

Trait Implementations

impl<'__pin, St, FromA, FromB> Unpin for Unzip<St, FromA, FromB> where PinnedFieldsOf<__Origin<'__pin, St, FromA, FromB>>: Unpin,

impl<St, A, B, FromA, FromB> FusedFuture for Unzip<St, FromA, FromB> where St: FusedStream<Item = (A, B)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>,

fn is_terminated(&self) -> bool

impl<St, A, B, FromA, FromB> Future for Unzip<St, FromA, FromB> where St: Stream<Item = (A, B)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>,

type Output = (FromA, FromB);
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<(FromA, FromB)>

impl<St: Debug, FromA: Debug, FromB: Debug> Debug for Unzip<St, FromA, FromB>

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

Auto Trait Implementations

impl<St, FromA, FromB> Freeze for Unzip<St, FromA, FromB> where St: Freeze, FromA: Freeze, FromB: Freeze,

impl<St, FromA, FromB> RefUnwindSafe for Unzip<St, FromA, FromB> where St: RefUnwindSafe, FromA: RefUnwindSafe, FromB: RefUnwindSafe,

impl<St, FromA, FromB> Send for Unzip<St, FromA, FromB> where St: Send, FromA: Send, FromB: Send,

impl<St, FromA, FromB> Sync for Unzip<St, FromA, FromB> where St: Sync, FromA: Sync, FromB: Sync,

impl<St, FromA, FromB> UnsafeUnpin for Unzip<St, FromA, FromB> where St: UnsafeUnpin, FromA: UnsafeUnpin, FromB: UnsafeUnpin,

impl<St, FromA, FromB> UnwindSafe for Unzip<St, FromA, FromB> where St: UnwindSafe, FromA: UnwindSafe, FromB: UnwindSafe,

Blanket Implementations

impl<F> IntoFuture for Unzip<St, FromA, FromB> where F: Future,

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

impl<T> Any for Unzip<St, FromA, FromB> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Unzip<St, FromA, FromB> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Unzip<St, FromA, FromB> where T: ?Sized,

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

impl<T> From<T> for Unzip<St, FromA, FromB>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Unzip<St, FromA, FromB> where T: Future + ?Sized,

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

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

impl<T, U> TryInto<U> for Unzip<St, FromA, FromB> where U: TryFrom<T>,

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