pub struct ContentHashDetector;Expand description
Default delta detector using content hash comparison.
Compares the stored content hash with the newly computed hash to determine if a dataset’s embedding needs to be regenerated.
Trait Implementations§
Source§impl Clone for ContentHashDetector
impl Clone for ContentHashDetector
Source§fn clone(&self) -> ContentHashDetector
fn clone(&self) -> ContentHashDetector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContentHashDetector
impl Debug for ContentHashDetector
Source§impl Default for ContentHashDetector
impl Default for ContentHashDetector
Source§fn default() -> ContentHashDetector
fn default() -> ContentHashDetector
Returns the “default value” for a type. Read more
Source§impl DeltaDetector for ContentHashDetector
impl DeltaDetector for ContentHashDetector
Source§fn needs_reprocessing(
&self,
existing_hash: Option<&Option<String>>,
new_hash: &str,
) -> ReprocessingDecision
fn needs_reprocessing( &self, existing_hash: Option<&Option<String>>, new_hash: &str, ) -> ReprocessingDecision
Determines if a dataset needs reprocessing. Read more
Auto Trait Implementations§
impl Freeze for ContentHashDetector
impl RefUnwindSafe for ContentHashDetector
impl Send for ContentHashDetector
impl Sync for ContentHashDetector
impl Unpin for ContentHashDetector
impl UnsafeUnpin for ContentHashDetector
impl UnwindSafe for ContentHashDetector
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