[][src]Struct backoff_futures::BackoffFuture

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct BackoffFuture<'b, Fut, B, F> { /* fields omitted */ }

Trait Implementations

impl<'_, Fut, F, B, T, E> Future for BackoffFuture<'_, Fut, B, F> where
    Fut: Future<Output = Result<T, Error<E>>>,
    F: FnMut() -> Fut + Unpin,
    B: Backoff + Unpin
[src]

type Output = Fut::Output

The type of value produced on completion.

Auto Trait Implementations

impl<'b, Fut, B, F> Sync for BackoffFuture<'b, Fut, B, F> where
    B: Sync,
    F: Sync,
    Fut: Sync

impl<'b, Fut, B, F> Send for BackoffFuture<'b, Fut, B, F> where
    B: Send,
    F: Send,
    Fut: Send

impl<'b, Fut, B, F> Unpin for BackoffFuture<'b, Fut, B, F> where
    F: Unpin,
    Fut: Unpin

impl<'b, Fut, B, F> !RefUnwindSafe for BackoffFuture<'b, Fut, B, F>

impl<'b, Fut, B, F> !UnwindSafe for BackoffFuture<'b, Fut, B, F>

Blanket Implementations

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

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

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<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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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