pub struct RecoveryError {
pub stream_metrics: Option<Box<StreamMetrics>>,
pub outcome: Outcome,
pub failure: Box<Failure>,
pub history: Vec<Failure>,
}Fields§
§stream_metrics: Option<Box<StreamMetrics>>Client stream timing and original provider metrics, retained on terminal failure. Inspect explicitly: default Debug/serialization omit raw provider usage.
outcome: Outcome§failure: Box<Failure>§history: Vec<Failure>Trait Implementations§
Source§impl Clone for RecoveryError
impl Clone for RecoveryError
Source§fn clone(&self) -> RecoveryError
fn clone(&self) -> RecoveryError
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 RecoveryError
impl Debug for RecoveryError
Source§impl Display for RecoveryError
impl Display for RecoveryError
Source§impl Error for RecoveryError
impl Error for RecoveryError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for RecoveryError
impl !UnwindSafe for RecoveryError
impl Freeze for RecoveryError
impl Send for RecoveryError
impl Sync for RecoveryError
impl Unpin for RecoveryError
impl UnsafeUnpin for RecoveryError
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