Struct ckb_rocksdb::FullOptions
source · pub struct FullOptions {
pub db_opts: Options,
pub cf_descriptors: Vec<ColumnFamilyDescriptor>,
}
Fields§
§db_opts: Options
§cf_descriptors: Vec<ColumnFamilyDescriptor>
Implementations§
source§impl FullOptions
impl FullOptions
pub fn load_from_file<P>( file: P, cache_size: Option<usize>, ignore_unknown_options: bool ) -> Result<Self, Error>where P: AsRef<Path>,
pub fn load_from_file_with_cache<P>( file: P, cache: Option<Cache>, ignore_unknown_options: bool ) -> Result<Self, Error>where P: AsRef<Path>,
pub fn complete_column_families( &mut self, cf_names: &[&str], ignore_unknown_column_families: bool ) -> Result<(), Error>
Trait Implementations§
source§impl Clone for FullOptions
impl Clone for FullOptions
source§fn clone(&self) -> FullOptions
fn clone(&self) -> FullOptions
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for FullOptions
impl Send for FullOptions
impl Sync for FullOptions
impl Unpin for FullOptions
impl UnwindSafe for FullOptions
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