[][src]Struct nc::types::fs_quota_stat_t

#[repr(C)]pub struct fs_quota_stat_t {
    pub qs_version: i8,
    pub qs_flags: u16,
    pub qs_pad: i8,
    pub qs_uquota: fs_qfilestat_t,
    pub qs_gquota: fs_qfilestat_t,
    pub qs_incoredqs: u32,
    pub qs_btimelimit: i32,
    pub qs_itimelimit: i32,
    pub qs_rtbtimelimit: i32,
    pub qs_bwarnlimit: u16,
    pub qs_iwarnlimit: u16,
}

fs_quota_stat is the struct returned in Q_XGETQSTAT for a given file system. Provides a centralized way to get meta information about the quota subsystem. eg. space taken up for user and group quotas, number of dquots currently incore.

Fields

qs_version: i8

version number for future changes

qs_flags: u16

FS_QUOTA_{U,P,G}DQ_{ACCT,ENFD}

qs_pad: i8

unused

qs_uquota: fs_qfilestat_t

user quota storage information

qs_gquota: fs_qfilestat_t

group quota storage information

qs_incoredqs: u32

number of dquots incore

qs_btimelimit: i32

limit for blks timer

qs_itimelimit: i32

limit for inodes timer

qs_rtbtimelimit: i32

limit for rt blks timer

qs_bwarnlimit: u16

limit for num warnings

qs_iwarnlimit: u16

limit for num warnings

Trait Implementations

impl Debug for fs_quota_stat_t[src]

impl Default for fs_quota_stat_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.