[−][src]Struct polyfuse::StatFs
Filesystem statistics.
This type is ABI-compatible with fuse_kstatfs
.
Methods
impl StatFs
[src]
pub fn bsize(&self) -> u32
[src]
Return the block size.
pub fn set_bsize(&mut self, bsize: u32)
[src]
Set the block size.
pub fn frsize(&self) -> u32
[src]
Return the fragment size.
pub fn set_frsize(&mut self, frsize: u32)
[src]
Set the fragment size.
pub fn blocks(&self) -> u64
[src]
Return the number of blocks in the filesystem.
pub fn set_blocks(&mut self, blocks: u64)
[src]
Return the number of blocks in the filesystem.
pub fn bfree(&self) -> u64
[src]
Return the number of free blocks.
pub fn set_bfree(&mut self, bfree: u64)
[src]
Return the number of free blocks.
pub fn bavail(&self) -> u64
[src]
Return the number of free blocks for non-priviledge users.
pub fn set_bavail(&mut self, bavail: u64)
[src]
Set the number of free blocks for non-priviledge users.
pub fn files(&self) -> u64
[src]
Return the number of inodes.
pub fn set_files(&mut self, files: u64)
[src]
Set the number of inodes.
pub fn ffree(&self) -> u64
[src]
Return the number of free inodes.
pub fn set_ffree(&mut self, ffree: u64)
[src]
Set the number of free inodes.
pub fn namelen(&self) -> u32
[src]
Return the maximum length of file names.
pub fn set_namelen(&mut self, namelen: u32)
[src]
Return the maximum length of file names.
Trait Implementations
impl Clone for StatFs
[src]
impl Copy for StatFs
[src]
impl Default for StatFs
[src]
impl Debug for StatFs
[src]
impl TryFrom<statvfs> for StatFs
[src]
Auto Trait Implementations
impl Send for StatFs
impl Sync for StatFs
impl Unpin for StatFs
impl UnwindSafe for StatFs
impl RefUnwindSafe for StatFs
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,