pub struct FileStorageConfig {
pub create_dirs: bool,
pub file_permissions: Option<u32>,
pub compress: bool,
pub sync_writes: bool,
}Fields§
§create_dirs: boolWhether to create directories automatically
file_permissions: Option<u32>File permissions (Unix only)
compress: boolWhether to use compression
sync_writes: boolSync writes to disk immediately
Trait Implementations§
Source§impl Clone for FileStorageConfig
impl Clone for FileStorageConfig
Source§fn clone(&self) -> FileStorageConfig
fn clone(&self) -> FileStorageConfig
Returns a duplicate 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 moreSource§impl Debug for FileStorageConfig
impl Debug for FileStorageConfig
Auto Trait Implementations§
impl Freeze for FileStorageConfig
impl RefUnwindSafe for FileStorageConfig
impl Send for FileStorageConfig
impl Sync for FileStorageConfig
impl Unpin for FileStorageConfig
impl UnwindSafe for FileStorageConfig
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