pub struct Registry {
pub ingest: IngestConfig,
}Expand description
Dispatches extraction to a language-aware extractor by file extension,
falling back to a plain file node when no language is registered. After the
language extractor runs, [crate::markers] appends any intent-debt markers
(TODOs, stubs, deferred-work notes) found in the blob. Carries the runtime
IngestConfig applied to content extraction.
Fields§
§ingest: IngestConfigWhich blob content to extract for embedding.
Implementations§
Trait Implementations§
impl Copy for Registry
Source§impl Extractor for Registry
impl Extractor for Registry
Source§fn env_tag(&self) -> u64
fn env_tag(&self) -> u64
Runtime inputs — beyond
(path, bytes) — that change extraction output
and so must be folded into the sync cache key: the installed image-model
identity (OCR + vision) and any IngestConfig toggles. The default is
the image-model tag alone; Registry additionally folds in its
ingestion config so toggling content off re-extracts affected blobs
instead of serving stale, content-bearing facts.Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnsafeUnpin for Registry
impl UnwindSafe for Registry
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