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>
pub fn load_from_file_with_cache<P>( file: P, cache: Option<Cache>, ignore_unknown_options: bool, ) -> Result<Self, Error>
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 Freeze for FullOptions
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