[−][src]Struct tryhard::NoOnRetry
A sentinel value that represents doing nothing in between retries.
Trait Implementations
impl Clone for NoOnRetry
[src]
impl Copy for NoOnRetry
[src]
impl Debug for NoOnRetry
[src]
impl Eq for NoOnRetry
[src]
impl<E> OnRetry<E> for NoOnRetry
[src]
type Future = Ready<Infallible>
The type of the future you want to run.
type Output = Infallible
The output type of your future.
pub fn on_retry(&mut self, _: u32, _: Option<Duration>, _: &E) -> Self::Future
[src]
impl PartialEq<NoOnRetry> for NoOnRetry
[src]
impl StructuralEq for NoOnRetry
[src]
impl StructuralPartialEq for NoOnRetry
[src]
Auto Trait Implementations
impl RefUnwindSafe for NoOnRetry
[src]
impl Send for NoOnRetry
[src]
impl Sync for NoOnRetry
[src]
impl Unpin for NoOnRetry
[src]
impl UnwindSafe for NoOnRetry
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,