pub enum RecollectionCompleteness {
Whole,
Truncated,
}Expand description
Whether a recollection is all of what the scope held, or as much of it as the budget allowed.
Said out loud rather than left to be inferred from a count nobody has. A reader weighing what earlier sessions decided has to know whether it is looking at the whole record or at the front of it; a truncated recollection that did not say so would read as a complete one, which is the only way a bound can turn into a lie.
Variants§
Whole
Everything the scope held reached the reader.
Truncated
The budget stopped the rendering before the scope ran out.
Implementations§
Trait Implementations§
Source§impl Clone for RecollectionCompleteness
impl Clone for RecollectionCompleteness
impl Copy for RecollectionCompleteness
Source§impl Debug for RecollectionCompleteness
impl Debug for RecollectionCompleteness
Source§impl<'de> Deserialize<'de> for RecollectionCompleteness
impl<'de> Deserialize<'de> for RecollectionCompleteness
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RecollectionCompleteness
Source§impl Hash for RecollectionCompleteness
impl Hash for RecollectionCompleteness
Source§impl Ord for RecollectionCompleteness
impl Ord for RecollectionCompleteness
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 RecollectionCompleteness
impl PartialEq for RecollectionCompleteness
Source§impl PartialOrd for RecollectionCompleteness
impl PartialOrd for RecollectionCompleteness
Source§impl Serialize for RecollectionCompleteness
impl Serialize for RecollectionCompleteness
impl StructuralPartialEq for RecollectionCompleteness
Auto Trait Implementations§
impl Freeze for RecollectionCompleteness
impl RefUnwindSafe for RecollectionCompleteness
impl Send for RecollectionCompleteness
impl Sync for RecollectionCompleteness
impl Unpin for RecollectionCompleteness
impl UnsafeUnpin for RecollectionCompleteness
impl UnwindSafe for RecollectionCompleteness
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