pub struct SourceParts {
pub capture: Arc<dyn ChangeCapture>,
pub documents: Arc<dyn DocumentBuilder>,
}Expand description
A source capture paired with the document builder over the same source.
They are built together because both read from one source and share its connection/config — the capture tails changes and reports lag; the builder resolves changed rows to documents.
Fields§
§capture: Arc<dyn ChangeCapture>Streams row changes (live tail + backfill snapshot) and reports lag.
documents: Arc<dyn DocumentBuilder>Resolves changed rows to DocumentIds and
assembles the documents.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SourceParts
impl !UnwindSafe for SourceParts
impl Freeze for SourceParts
impl Send for SourceParts
impl Sync for SourceParts
impl Unpin for SourceParts
impl UnsafeUnpin for SourceParts
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