[−][src]Struct adventure::retry::Retrial
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]
R: RetryMethod<C> + Unpin,
R::Response: Unpin,
C: Clone,
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.
fn poll(
self: Pin<&mut Self>,
waker: &Waker
) -> Poll<Result<Self::Ok, Self::Error>>
[src]
self: Pin<&mut Self>,
waker: &Waker
) -> Poll<Result<Self::Ok, Self::Error>>
ⓘImportant traits for IntoFuture<T>fn into_future(self) -> IntoFuture<Self> where
Self: Sized,
[src]
ⓘImportant traits for IntoFuture<T>
Self: Sized,
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]
R: RetryMethod<C> + Unpin,
R::Response: Unpin,
C: Unpin,
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,
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,
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]
T: Response,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,