[−][src]Enum restartables::Failure
Different ways a Restartable can fail
Variants
Returned if the inner future never resolved before the timeout
Returned if the inner future fails the test and then times out. Returns the last error from the test, and how many times the future was restarted.
Fields of Err
error: E
The failure value returne by the test
restarts: usize
How many times the future was restarted before the timeout expired
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Failure<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for Failure<E> where
E: Send,
E: Send,
impl<E> Sync for Failure<E> where
E: Sync,
E: Sync,
impl<E> Unpin for Failure<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for Failure<E> where
E: UnwindSafe,
E: UnwindSafe,
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,
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, 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.
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>,