Struct nix::sys::statfs::Statfs [−][src]
Implementations
impl Statfs
[src]
pub fn filesystem_type(&self) -> FsType
[src]
Magic code defining system type
pub fn optimal_transfer_size(&self) -> c_long
[src]
Optimal transfer block size
pub fn block_size(&self) -> c_long
[src]
Size of a block
pub fn maximum_name_length(&self) -> c_long
[src]
Maximum length of filenames
pub fn blocks(&self) -> c_ulong
[src]
Total data blocks in filesystem
pub fn blocks_free(&self) -> c_ulong
[src]
Free blocks in filesystem
pub fn blocks_available(&self) -> c_ulong
[src]
Free blocks available to unprivileged user
pub fn files(&self) -> c_ulong
[src]
Total file nodes in filesystem
pub fn files_free(&self) -> c_ulong
[src]
Free file nodes in filesystem
pub fn filesystem_id(&self) -> fsid_t
[src]
Filesystem ID
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Statfs
impl Send for Statfs
impl Sync for Statfs
impl Unpin for Statfs
impl UnwindSafe for Statfs
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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 = Infallible
The type returned in the event of a conversion error.
pub 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>,