[−][src]Struct futures_lite::stream::PositionFuture
Future for the StreamExt::position()
method.
Trait Implementations
impl<'a, S: Debug + ?Sized, P: Debug> Debug for PositionFuture<'a, S, P>
[src]
impl<'a, S: ?Sized, P> Future for PositionFuture<'a, S, P> where
S: Stream + Unpin,
P: FnMut(S::Item) -> bool,
[src]
S: Stream + Unpin,
P: FnMut(S::Item) -> bool,
type Output = Option<usize>
The type of value produced on completion.
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
[src]
impl<'a, S: Unpin + ?Sized, P> Unpin for PositionFuture<'a, S, P>
[src]
Auto Trait Implementations
impl<'a, S: ?Sized, P> RefUnwindSafe for PositionFuture<'a, S, P> where
P: RefUnwindSafe,
S: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, S: ?Sized, P> Send for PositionFuture<'a, S, P> where
P: Send,
S: Send,
P: Send,
S: Send,
impl<'a, S: ?Sized, P> Sync for PositionFuture<'a, S, P> where
P: Sync,
S: Sync,
P: Sync,
S: Sync,
impl<'a, S, P> !UnwindSafe for PositionFuture<'a, S, P>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<F> FutureExt for F where
F: Future + ?Sized,
[src]
F: Future + ?Sized,
fn or<F>(self, other: F) -> Or<Self, F>ⓘ where
Self: Sized,
F: Future<Output = Self::Output>,
[src]
Self: Sized,
F: Future<Output = Self::Output>,
fn boxed<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a>> where
Self: Sized + Send + 'a,
[src]
Self: Sized + Send + 'a,
fn boxed_local<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a>> where
Self: Sized + 'a,
[src]
Self: Sized + 'a,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,