pub struct WorkingUnit {
pub unit: Unit,
pub failed_attempts: usize,
pub last_failure_notes: Option<String>,
}Expand description
A working unit with attempt context.
Fields§
§unit: Unit§failed_attempts: usize§last_failure_notes: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkingUnit
impl RefUnwindSafe for WorkingUnit
impl Send for WorkingUnit
impl Sync for WorkingUnit
impl Unpin for WorkingUnit
impl UnsafeUnpin for WorkingUnit
impl UnwindSafe for WorkingUnit
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