pub struct SnapshotManagerImpl { /* private fields */ }Expand description
Snapshot manager implementation details
Implementations§
Source§impl SnapshotManagerImpl
impl SnapshotManagerImpl
Sourcepub fn should_be_incremental(&self, parent: Option<&SnapshotMeta>) -> bool
pub fn should_be_incremental(&self, parent: Option<&SnapshotMeta>) -> bool
Check if a snapshot needs to be incremental
Sourcepub fn calculate_diff<'a>(
&self,
old: &'a SnapshotMeta,
new_files: &'a [SnapshotFile],
) -> Vec<&'a SnapshotFile>
pub fn calculate_diff<'a>( &self, old: &'a SnapshotMeta, new_files: &'a [SnapshotFile], ) -> Vec<&'a SnapshotFile>
Calculate the diff between two snapshots
Auto Trait Implementations§
impl Freeze for SnapshotManagerImpl
impl RefUnwindSafe for SnapshotManagerImpl
impl Send for SnapshotManagerImpl
impl Sync for SnapshotManagerImpl
impl Unpin for SnapshotManagerImpl
impl UnwindSafe for SnapshotManagerImpl
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