pub enum PageOutcome {
Pending,
Final {
accumulated_discovered_count: u32,
},
}Expand description
Outcome of registering a page with the ReportTracker.
Variants§
Pending
More pages are expected; the caller should process this page’s payload but defer finalization.
Final
This was the final page; the caller should process the payload and run
finalization. Contains the accumulated discovered_count from all
prior pages plus the current page’s contribution (added by the caller).
Trait Implementations§
Source§impl Clone for PageOutcome
impl Clone for PageOutcome
Source§fn clone(&self) -> PageOutcome
fn clone(&self) -> PageOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageOutcome
impl Debug for PageOutcome
impl Eq for PageOutcome
Source§impl PartialEq for PageOutcome
impl PartialEq for PageOutcome
impl StructuralPartialEq for PageOutcome
Auto Trait Implementations§
impl Freeze for PageOutcome
impl RefUnwindSafe for PageOutcome
impl Send for PageOutcome
impl Sync for PageOutcome
impl Unpin for PageOutcome
impl UnsafeUnpin for PageOutcome
impl UnwindSafe for PageOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.