pub struct FileSystemStats { /* private fields */ }
Expand description
A FAT volume statistics.
Implementations§
Source§impl FileSystemStats
impl FileSystemStats
Sourcepub fn sector_size(&self) -> u16
pub fn sector_size(&self) -> u16
Sector size in bytes.
Sourcepub fn cluster_size(&self) -> u32
pub fn cluster_size(&self) -> u32
Cluster size in bytes
Sourcepub fn total_clusters(&self) -> u32
pub fn total_clusters(&self) -> u32
Number of total clusters in filesystem usable for file allocation
Sourcepub fn free_clusters(&self) -> u32
pub fn free_clusters(&self) -> u32
Number of free clusters
Trait Implementations§
Source§impl Clone for FileSystemStats
impl Clone for FileSystemStats
Source§fn clone(&self) -> FileSystemStats
fn clone(&self) -> FileSystemStats
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 moreSource§impl Debug for FileSystemStats
impl Debug for FileSystemStats
Source§impl PartialEq for FileSystemStats
impl PartialEq for FileSystemStats
impl Copy for FileSystemStats
impl Eq for FileSystemStats
impl StructuralPartialEq for FileSystemStats
Auto Trait Implementations§
impl Freeze for FileSystemStats
impl RefUnwindSafe for FileSystemStats
impl Send for FileSystemStats
impl Sync for FileSystemStats
impl Unpin for FileSystemStats
impl UnwindSafe for FileSystemStats
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
)