pub enum ScanOutcome {
Complete(ScanStatus),
NotComplete {
last: ScanStatus,
waited: Duration,
},
}Expand description
How a scan wait ended.
Variants§
Complete(ScanStatus)
Inactive with an advanced timestamp; carries that final reading.
NotComplete
The budget ran out first. A trigger answering 200 is not success: this is what a scan that never advances reports.
Trait Implementations§
Source§impl Clone for ScanOutcome
impl Clone for ScanOutcome
Source§impl Debug for ScanOutcome
impl Debug for ScanOutcome
Source§impl PartialEq for ScanOutcome
impl PartialEq for ScanOutcome
impl StructuralPartialEq for ScanOutcome
Auto Trait Implementations§
impl Freeze for ScanOutcome
impl RefUnwindSafe for ScanOutcome
impl Send for ScanOutcome
impl Sync for ScanOutcome
impl Unpin for ScanOutcome
impl UnsafeUnpin for ScanOutcome
impl UnwindSafe for ScanOutcome
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