[][src]Struct adventure::retry::Retrial

pub struct Retrial<R, C> where
    R: RetryMethod<C>, 
{ /* fields omitted */ }

Response for retry combinator.

Trait Implementations

impl<R, C> Response for Retrial<R, C> where
    R: RetryMethod<C> + Unpin,
    R::Response: Unpin,
    C: Clone
[src]

type Ok = <R::Response as Response>::Ok

The type of successful values of this response.

type Error = RetryError<<<R as RetryMethod<C>>::Response as Response>::Error>

The type of failures of this response.

Important traits for IntoFuture<T>
fn into_future(self) -> IntoFuture<Self> where
    Self: Sized
[src]

Wrap this response into a type that can work with futures. Read more

impl<R, C> Unpin for Retrial<R, C> where
    R: RetryMethod<C> + Unpin,
    R::Response: Unpin,
    C: Unpin
[src]

Auto Trait Implementations

impl<R, C> Send for Retrial<R, C> where
    C: Send,
    R: Send,
    <R as RetryMethod<C>>::Delay: Send,
    <R as RetryMethod<C>>::Response: Send

impl<R, C> Sync for Retrial<R, C> where
    C: Sync,
    R: Sync,
    <R as RetryMethod<C>>::Delay: Sync,
    <R as RetryMethod<C>>::Response: Sync

Blanket Implementations

impl<T> ResponseExt for T where
    T: Response
[src]

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto 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 for T where
    T: ?Sized
[src]

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