Enum pravega_client_retry::retry_result::RetryResult [−][src]
pub enum RetryResult<T, E> {
Success(T),
Retry(E),
Fail(E),
}
Expand description
The RetryResult that the operation should return.
Variants
Contains the return value if the operation succeed.
Contains the error value if duration is exceeded.
Contains an error value to return immediately.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T, E> RefUnwindSafe for RetryResult<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for RetryResult<T, E> where
E: Send,
T: Send,
impl<T, E> Sync for RetryResult<T, E> where
E: Sync,
T: Sync,
impl<T, E> Unpin for RetryResult<T, E> where
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for RetryResult<T, E> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more