pub struct SizeApproximationFlags(/* private fields */);Expand description
Which kinds of data DB::get_approximate_sizes_cf_with_flags counts.
This is the older flag-based form of SizeApproximationOptions, kept
because it is the only variant RocksDB exposes for a single column family
without allocating an options object. It cannot express an error margin.
Implementations§
Source§impl SizeApproximationFlags
impl SizeApproximationFlags
Sourcepub const INCLUDE_MEMTABLE: Self
pub const INCLUDE_MEMTABLE: Self
Count data still in the memtables.
Sourcepub const INCLUDE_FILES: Self
pub const INCLUDE_FILES: Self
Count data in SST files.
Sourcepub const INCLUDE_BLOB_FILES: Self
pub const INCLUDE_BLOB_FILES: Self
Count a prorated share of the blob files, as described on
SizeApproximationOptions::set_include_blob_files.
Trait Implementations§
Source§impl BitOr for SizeApproximationFlags
impl BitOr for SizeApproximationFlags
Source§impl BitOrAssign for SizeApproximationFlags
impl BitOrAssign for SizeApproximationFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for SizeApproximationFlags
impl Clone for SizeApproximationFlags
Source§fn clone(&self) -> SizeApproximationFlags
fn clone(&self) -> SizeApproximationFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SizeApproximationFlags
Source§impl Debug for SizeApproximationFlags
impl Debug for SizeApproximationFlags
Source§impl Default for SizeApproximationFlags
impl Default for SizeApproximationFlags
Source§fn default() -> SizeApproximationFlags
fn default() -> SizeApproximationFlags
Returns the “default value” for a type. Read more
impl Eq for SizeApproximationFlags
Source§impl PartialEq for SizeApproximationFlags
impl PartialEq for SizeApproximationFlags
impl StructuralPartialEq for SizeApproximationFlags
Auto Trait Implementations§
impl Freeze for SizeApproximationFlags
impl RefUnwindSafe for SizeApproximationFlags
impl Send for SizeApproximationFlags
impl Sync for SizeApproximationFlags
impl Unpin for SizeApproximationFlags
impl UnsafeUnpin for SizeApproximationFlags
impl UnwindSafe for SizeApproximationFlags
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