pub enum ReportMode {
Progress,
FinalOnly,
}Expand description
How often a reporter emits a record (docs/PROTOCOL.md §6.2, key
11).
Not ordered: these are two shapes of the same report, not two strengths. A cursor is never load-bearing, so neither mode is a guarantee and neither is negotiated (decisions/0023 §4.5).
Variants§
Progress
Records as the level advances, coalesced at the reporter’s own granularity.
FinalOnly
One record per level, at the end.
Implementations§
Trait Implementations§
Source§impl Clone for ReportMode
impl Clone for ReportMode
impl Copy for ReportMode
Source§impl Debug for ReportMode
impl Debug for ReportMode
Source§impl Default for ReportMode
impl Default for ReportMode
impl Eq for ReportMode
Source§impl Hash for ReportMode
impl Hash for ReportMode
Source§impl Ord for ReportMode
impl Ord for ReportMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReportMode
impl PartialEq for ReportMode
Source§impl PartialOrd for ReportMode
impl PartialOrd for ReportMode
impl StructuralPartialEq for ReportMode
Auto Trait Implementations§
impl Freeze for ReportMode
impl RefUnwindSafe for ReportMode
impl Send for ReportMode
impl Sync for ReportMode
impl Unpin for ReportMode
impl UnsafeUnpin for ReportMode
impl UnwindSafe for ReportMode
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