[][src]Struct adventure::retry::Retrying

pub struct Retrying<R, T, B = ExponentialBackoff, F = ()> { /* fields omitted */ }

Request for retry combinator.

Trait Implementations

impl<R, T, B, F> BaseRequest for Retrying<R, T, B, F> where
    R: BaseRequest
[src]

type Ok = R::Ok

The type of successful values from the corresponding response.

type Error = RetryError<R::Error>

The type of failures from the corresponding response.

impl<R: Clone, T: Clone, B: Clone, F: Clone> Clone for Retrying<R, T, B, F>[src]

impl<R, T, B, F, C> OneshotRequest<C> for Retrying<R, T, B, F> where
    Self: RetryMethod<C, Response = R::Response> + Unpin,
    R: Request<C>,
    R::Response: Unpin,
    C: Clone
[src]

type Response = Retrial<Self, C>

The type of corresponding responses of this request.

impl<R, T, B, F> PagedRequest for Retrying<R, T, B, F> where
    R: PagedRequest
[src]

impl<R, T, B, F, C> Request<C> for Retrying<R, T, B, F> where
    Self: RetryMethod<C, Response = R::Response> + Clone + Unpin,
    R: Request<C>,
    R::Response: Unpin,
    C: Clone
[src]

type Response = Retrial<Self, C>

The type of corresponding responses of this request.

impl<R, T, B, F> Unpin for Retrying<R, T, B, F> where
    R: Unpin,
    F: Unpin,
    B: Unpin
[src]

Auto Trait Implementations

impl<R, T, B, F> RefUnwindSafe for Retrying<R, T, B, F> where
    B: RefUnwindSafe,
    F: RefUnwindSafe,
    R: RefUnwindSafe,
    T: RefUnwindSafe

impl<R, T, B, F> Send for Retrying<R, T, B, F> where
    B: Send,
    F: Send,
    R: Send,
    T: Send

impl<R, T, B, F> Sync for Retrying<R, T, B, F> where
    B: Sync,
    F: Sync,
    R: Sync,
    T: Sync

impl<R, T, B, F> UnwindSafe for Retrying<R, T, B, F> where
    B: UnwindSafe,
    F: UnwindSafe,
    R: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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, U> Into<U> for T where
    U: From<T>, 
[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<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.