Struct SelectNextSome

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct SelectNextSome<'a, St: ?Sized> { /* private fields */ }

Future for the select_next_some method.

Trait Implementations

impl<'a, St: Debug + ?Sized> Debug for SelectNextSome<'a, St>

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

impl<St: ?Sized + FusedStream + Unpin> FusedFuture for SelectNextSome<'_, St>

fn is_terminated(&self) -> bool

impl<St: ?Sized + FusedStream + Unpin> Future for SelectNextSome<'_, St>

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

Auto Trait Implementations

impl<'a, St> !UnwindSafe for SelectNextSome<'a, St>

impl<'a, St> Freeze for SelectNextSome<'a, St> where &'a mut St: Freeze, St: ?Sized,

impl<'a, St> RefUnwindSafe for SelectNextSome<'a, St> where &'a mut St: RefUnwindSafe, St: ?Sized,

impl<'a, St> Send for SelectNextSome<'a, St> where &'a mut St: Send, St: ?Sized,

impl<'a, St> Sync for SelectNextSome<'a, St> where &'a mut St: Sync, St: ?Sized,

impl<'a, St> Unpin for SelectNextSome<'a, St> where &'a mut St: Unpin, St: ?Sized,

impl<'a, St> UnsafeUnpin for SelectNextSome<'a, St> where &'a mut St: UnsafeUnpin, St: ?Sized,

Blanket Implementations

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

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

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for SelectNextSome<'a, St> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for SelectNextSome<'a, St> where T: ?Sized,

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

impl<T> From<T> for SelectNextSome<'a, St>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for SelectNextSome<'a, St> where T: Future + ?Sized,

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

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

impl<T, U> TryInto<U> for SelectNextSome<'a, St> where U: TryFrom<T>,

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