[][src]Struct futures_test::sink::AssertUnmoved

#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct AssertUnmoved<T> { /* fields omitted */ }

Combinator that asserts that the underlying type is not moved after being polled.

See the assert_unmoved methods on:

Trait Implementations

impl<R: AsyncBufRead> AsyncBufRead for AssertUnmoved<R>[src]

impl<R: AsyncRead> AsyncRead for AssertUnmoved<R>[src]

impl<S: AsyncSeek> AsyncSeek for AssertUnmoved<S>[src]

impl<W: AsyncWrite> AsyncWrite for AssertUnmoved<W>[src]

impl<T: Clone> Clone for AssertUnmoved<T>[src]

impl<T: Debug> Debug for AssertUnmoved<T>[src]

impl<T> Drop for AssertUnmoved<T>[src]

impl<Fut: FusedFuture> FusedFuture for AssertUnmoved<Fut>[src]

impl<St: FusedStream> FusedStream for AssertUnmoved<St>[src]

impl<Fut: Future> Future for AssertUnmoved<Fut>[src]

type Output = Fut::Output

The type of value produced on completion.

impl<T> PinnedDrop for AssertUnmoved<T>[src]

impl<T: Send> Send for AssertUnmoved<T>[src]

impl<Si: Sink<Item>, Item> Sink<Item> for AssertUnmoved<Si>[src]

type Error = Si::Error

The type of value produced by the sink when an error occurs.

impl<St: Stream> Stream for AssertUnmoved<St>[src]

type Item = St::Item

Values yielded by the stream.

impl<T: Sync> Sync for AssertUnmoved<T>[src]

impl<'pin, T> Unpin for AssertUnmoved<T> where
    Wrapper<'pin, PhantomPinned>: Unpin
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for AssertUnmoved<T> where
    T: RefUnwindSafe
[src]

impl<T> UnwindSafe for AssertUnmoved<T> where
    T: RefUnwindSafe + UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<R> AsyncBufReadExt for R where
    R: AsyncBufRead + ?Sized
[src]

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

impl<R> AsyncReadTestExt for R where
    R: AsyncRead
[src]

impl<S> AsyncSeekExt for S where
    S: AsyncSeek + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized
[src]

impl<W> AsyncWriteTestExt for W where
    W: AsyncWrite
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<Fut> FutureTestExt for Fut where
    Fut: Future
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

impl<Item, W> SinkTestExt<Item> for W where
    W: Sink<Item>, 
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]

impl<St> StreamTestExt for St where
    St: Stream
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T, E> TryStream for S where
    S: Stream<Item = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<S> TryStreamExt for S where
    S: TryStream + ?Sized
[src]