pub struct Bitcask { /* private fields */ }Expand description
Engine-level wrapper for the Bitcask (append-only log) backend.
Trait Implementations§
Source§impl Durability for Bitcask
impl Durability for Bitcask
type Loc = DiskLoc
type Inner = ShardInner
fn shard_count(&self) -> usize
fn lock_shard(&self, shard_id: usize) -> MutexGuard<'_, ShardInner>
fn shard_prefix_bits(&self) -> usize
fn flush(&self) -> DbResult<()>
fn close(&self) -> DbResult<()>
fn max_projected_rows(&self) -> usize
fn max_projected_bytes(&self) -> usize
Auto Trait Implementations§
impl !RefUnwindSafe for Bitcask
impl !UnwindSafe for Bitcask
impl Freeze for Bitcask
impl Send for Bitcask
impl Sync for Bitcask
impl Unpin for Bitcask
impl UnsafeUnpin for Bitcask
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