pub struct Attempt {
pub name: String,
pub error: Option<DynError>,
pub duration_ms: f64,
}Expand description
One provider attempt within a chain call.
Fields§
§name: StringProvider name as passed to FallbackChain::new.
error: Option<DynError>The error the provider returned (None on success).
duration_ms: f64Wall time the provider took, in milliseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attempt
impl !RefUnwindSafe for Attempt
impl Send for Attempt
impl Sync for Attempt
impl Unpin for Attempt
impl UnsafeUnpin for Attempt
impl !UnwindSafe for Attempt
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