Struct bitcasky_common::options::DataStorageOptions
source · pub struct DataStorageOptions {
pub max_data_file_size: usize,
pub init_data_file_capacity: usize,
pub storage_type: DataSotrageType,
}Fields§
§max_data_file_size: usize§init_data_file_capacity: usize§storage_type: DataSotrageTypeImplementations§
source§impl DataStorageOptions
impl DataStorageOptions
pub fn max_data_file_size(self, size: usize) -> DataStorageOptions
pub fn init_data_file_capacity(self, capacity: usize) -> DataStorageOptions
pub fn storage_type(self, storage_type: DataSotrageType) -> DataStorageOptions
Trait Implementations§
source§impl Debug for DataStorageOptions
impl Debug for DataStorageOptions
Auto Trait Implementations§
impl RefUnwindSafe for DataStorageOptions
impl Send for DataStorageOptions
impl Sync for DataStorageOptions
impl Unpin for DataStorageOptions
impl UnwindSafe for DataStorageOptions
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