pub enum DigestOutcome {
Cached(Digest),
Fresh(Digest),
Structural {
digest: Digest,
reason: AxError,
},
}Expand description
What one pass over a document produced.
Variants§
Cached(Digest)
Read out of the cache; nothing was asked of anyone.
Fresh(Digest)
Digested now, and worth writing to the cache under source.
Structural
The prose digester failed or was not attempted; the structural digest still stands, because reading headings cannot fail.
Implementations§
Trait Implementations§
Source§impl Clone for DigestOutcome
impl Clone for DigestOutcome
Source§impl Debug for DigestOutcome
impl Debug for DigestOutcome
impl Eq for DigestOutcome
Source§impl PartialEq for DigestOutcome
impl PartialEq for DigestOutcome
impl StructuralPartialEq for DigestOutcome
Auto Trait Implementations§
impl Freeze for DigestOutcome
impl RefUnwindSafe for DigestOutcome
impl Send for DigestOutcome
impl Sync for DigestOutcome
impl Unpin for DigestOutcome
impl UnsafeUnpin for DigestOutcome
impl UnwindSafe for DigestOutcome
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