pub(crate) enum Attempt {
Single(usize),
Range(usize, usize),
}
Expand description
Represents which attempts, in sequence, failed to complete.
Variants§
Single(usize)
A single attempt that failed.
Range(usize, usize)
A range of consecutive attempts that failed.
Implementations§
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 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