pub enum ReportFailure {
Retry(Duration),
GiveUp {
attempts: u32,
reports: Vec<JobReport>,
},
Settled,
}Expand description
What a failed report turn leaves its jobs to.
Variants§
Retry(Duration)
Another report turn about them is due after this long.
GiveUp
No more report turns: the server reports them directly. attempts
counts the report turns that failed.
Settled
The model saw each of them through a call during the turn.
Trait Implementations§
Source§impl Debug for ReportFailure
impl Debug for ReportFailure
impl Eq for ReportFailure
Source§impl PartialEq for ReportFailure
impl PartialEq for ReportFailure
impl StructuralPartialEq for ReportFailure
Auto Trait Implementations§
impl Freeze for ReportFailure
impl RefUnwindSafe for ReportFailure
impl Send for ReportFailure
impl Sync for ReportFailure
impl Unpin for ReportFailure
impl UnsafeUnpin for ReportFailure
impl UnwindSafe for ReportFailure
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