pub struct DeltaIndex { /* private fields */ }Implementations§
Source§impl DeltaIndex
impl DeltaIndex
pub fn new() -> Self
pub fn apply_commit( &mut self, records: Vec<V2WALRecord>, commit_lsn: u64, ) -> Result<(), NativeBackendError>
pub fn get_node_delta( &self, node_id: i64, snapshot_id: SnapshotId, ) -> Option<&DeltaRecord>
pub fn has_node_delta(&self, node_id: i64, snapshot_id: SnapshotId) -> bool
pub fn checkpoint_completed(&mut self, checkpoint_lsn: u64) -> usize
pub fn delta_count(&self) -> usize
Trait Implementations§
Source§impl Debug for DeltaIndex
impl Debug for DeltaIndex
Source§impl Default for DeltaIndex
impl Default for DeltaIndex
Source§fn default() -> DeltaIndex
fn default() -> DeltaIndex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeltaIndex
impl RefUnwindSafe for DeltaIndex
impl Send for DeltaIndex
impl Sync for DeltaIndex
impl Unpin for DeltaIndex
impl UnwindSafe for DeltaIndex
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more