pub struct AttemptExecutorError { /* private fields */ }Expand description
Failure produced by the retry executor before an attempt can run normally.
This type is used for infrastructure failures such as failing to spawn a
worker thread for crate::Retry::run_in_worker.
Implementations§
Trait Implementations§
Source§impl Clone for AttemptExecutorError
impl Clone for AttemptExecutorError
Source§fn clone(&self) -> AttemptExecutorError
fn clone(&self) -> AttemptExecutorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttemptExecutorError
impl Debug for AttemptExecutorError
Source§impl<'de> Deserialize<'de> for AttemptExecutorError
impl<'de> Deserialize<'de> for AttemptExecutorError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AttemptExecutorError
impl Display for AttemptExecutorError
Source§impl Error for AttemptExecutorError
impl Error for AttemptExecutorError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AttemptExecutorError
impl PartialEq for AttemptExecutorError
Source§fn eq(&self, other: &AttemptExecutorError) -> bool
fn eq(&self, other: &AttemptExecutorError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttemptExecutorError
impl Serialize for AttemptExecutorError
impl Eq for AttemptExecutorError
impl StructuralPartialEq for AttemptExecutorError
Auto Trait Implementations§
impl Freeze for AttemptExecutorError
impl RefUnwindSafe for AttemptExecutorError
impl Send for AttemptExecutorError
impl Sync for AttemptExecutorError
impl Unpin for AttemptExecutorError
impl UnsafeUnpin for AttemptExecutorError
impl UnwindSafe for AttemptExecutorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<E> IntoBoxError for E
impl<E> IntoBoxError for E
Source§impl<T, D> IntoConfigDefault<T> for Dwhere
D: IntoValueDefault<T>,
impl<T, D> IntoConfigDefault<T> for Dwhere
D: IntoValueDefault<T>,
Source§fn into_config_default(self) -> T
fn into_config_default(self) -> T
Converts this fallback value into
T.Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.