MCPcopy Create free account
hub / github.com/Rustixir/darkbird / PageProcessor

Class PageProcessor

src/darkbird/wal/page_processor.rs:43–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43pub struct PageProcessor<'a, OldKey, OldDoc, NewKey, NewDoc> {
44 root: &'a str,
45 source_name: &'a str,
46 source_total_page_size: usize,
47 sync_name: Sync<'a>,
48 vacuum: bool,
49 handler: fn(RQuery<OldKey, OldDoc>) -> RQuery<NewKey, NewDoc>,
50
51 phan_old_key: PhantomData<OldKey>,
52 phan_old_doc: PhantomData<OldDoc>,
53 phan_new_key: PhantomData<NewKey>,
54 phan_new_doc: PhantomData<NewDoc>
55}
56
57impl<'a, OldKey, OldDoc, NewKey, NewDoc> PageProcessor<'a, OldKey, OldDoc, NewKey, NewDoc>
58where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected