pub enum CachePoint {
C0,
C1,
C2,
C3,
}Expand description
A discrete cache point in the processing pipeline. Ordered by pipeline position: C0 < C1 < C2 < C3.
Variants§
C0
C0: Original PDF bytes
C1
C1: Blazegraph XHTML from Tika/JNI extraction
C2
C2: PreprocessorOutput (parsed elements + metadata)
C3
C3: DocumentGraph (bgraph.json, config-dependent)
Implementations§
Source§impl CachePoint
impl CachePoint
Sourcepub fn all() -> &'static [CachePoint]
pub fn all() -> &'static [CachePoint]
All cache points in pipeline order.
Sourcepub fn cascade(&self) -> Vec<CachePoint>
pub fn cascade(&self) -> Vec<CachePoint>
Cache points at and downstream of this point (for cascade operations).
Sourcepub fn from_str_with_all(s: &str) -> Result<Option<CachePoint>, Error>
pub fn from_str_with_all(s: &str) -> Result<Option<CachePoint>, Error>
Parse from CLI string (e.g., “c0”, “c1”, “c2”, “c3”, “all”).
Trait Implementations§
Source§impl Clone for CachePoint
impl Clone for CachePoint
Source§fn clone(&self) -> CachePoint
fn clone(&self) -> CachePoint
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 moreimpl Copy for CachePoint
Source§impl Debug for CachePoint
impl Debug for CachePoint
Source§impl Display for CachePoint
impl Display for CachePoint
impl Eq for CachePoint
Source§impl Ord for CachePoint
impl Ord for CachePoint
Source§fn cmp(&self, other: &CachePoint) -> Ordering
fn cmp(&self, other: &CachePoint) -> Ordering
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
Source§impl PartialEq for CachePoint
impl PartialEq for CachePoint
Source§impl PartialOrd for CachePoint
impl PartialOrd for CachePoint
impl StructuralPartialEq for CachePoint
Auto Trait Implementations§
impl Freeze for CachePoint
impl RefUnwindSafe for CachePoint
impl Send for CachePoint
impl Sync for CachePoint
impl Unpin for CachePoint
impl UnsafeUnpin for CachePoint
impl UnwindSafe for CachePoint
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.