pub struct FsOptions { /* private fields */ }
Expand description
A FAT filesystem mount options.
Options are specified as an argument for FileSystem::new
method.
Implementations§
source§impl FsOptions
impl FsOptions
sourcepub fn update_accessed_date(self, enabled: bool) -> Self
pub fn update_accessed_date(self, enabled: bool) -> Self
If enabled accessed date field in directory entry is updated when reading or writing a file.
sourcepub fn oem_cp_converter(
self,
oem_cp_converter: &'static dyn OemCpConverter,
) -> Self
pub fn oem_cp_converter( self, oem_cp_converter: &'static dyn OemCpConverter, ) -> Self
Changes default OEM code page encoder-decoder.
sourcepub fn time_provider(self, time_provider: &'static dyn TimeProvider) -> Self
pub fn time_provider(self, time_provider: &'static dyn TimeProvider) -> Self
Changes default time provider.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsOptions
impl !RefUnwindSafe for FsOptions
impl !Send for FsOptions
impl !Sync for FsOptions
impl Unpin for FsOptions
impl !UnwindSafe for FsOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)