pub struct FsOptions<TP, OCC> { /* private fields */ }
Expand description
A FAT filesystem mount options.
Options are specified as an argument for FileSystem::new
method.
Implementations§
Source§impl<TP: TimeProvider, OCC: OemCpConverter> FsOptions<TP, OCC>
impl<TP: TimeProvider, OCC: OemCpConverter> FsOptions<TP, OCC>
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<OCC2: OemCpConverter>(
self,
oem_cp_converter: OCC2,
) -> FsOptions<TP, OCC2>
pub fn oem_cp_converter<OCC2: OemCpConverter>( self, oem_cp_converter: OCC2, ) -> FsOptions<TP, OCC2>
Changes default OEM code page encoder-decoder.
Sourcepub fn time_provider<TP2: TimeProvider>(
self,
time_provider: TP2,
) -> FsOptions<TP2, OCC>
pub fn time_provider<TP2: TimeProvider>( self, time_provider: TP2, ) -> FsOptions<TP2, OCC>
Changes default time provider.
Trait Implementations§
impl<TP: Copy, OCC: Copy> Copy for FsOptions<TP, OCC>
Auto Trait Implementations§
impl<TP, OCC> Freeze for FsOptions<TP, OCC>
impl<TP, OCC> RefUnwindSafe for FsOptions<TP, OCC>where
OCC: RefUnwindSafe,
TP: RefUnwindSafe,
impl<TP, OCC> Send for FsOptions<TP, OCC>
impl<TP, OCC> Sync for FsOptions<TP, OCC>
impl<TP, OCC> Unpin for FsOptions<TP, OCC>
impl<TP, OCC> UnwindSafe for FsOptions<TP, OCC>where
OCC: UnwindSafe,
TP: UnwindSafe,
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§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
)