Struct nix::sys::quota::Dqblk
#[repr(transparent)]
pub struct Dqblk(_);
Documentation
Wrapper type for if_dqblk
Implementations
impl Dqblk
pub fn blocks_hard_limit(&Self) -> Option<u64>
The absolute limit on disk quota blocks allocated.
pub fn set_blocks_hard_limit(&mut Self, limit: u64)
Set the absolute limit on disk quota blocks allocated.
pub fn blocks_soft_limit(&Self) -> Option<u64>
Preferred limit on disk quota blocks
pub fn set_blocks_soft_limit(&mut Self, limit: u64)
Set the preferred limit on disk quota blocks allocated.
pub fn occupied_space(&Self) -> Option<u64>
Current occupied space (bytes).
pub fn inodes_hard_limit(&Self) -> Option<u64>
Maximum number of allocated inodes.
pub fn set_inodes_hard_limit(&mut Self, limit: u64)
Set the maximum number of allocated inodes.
pub fn inodes_soft_limit(&Self) -> Option<u64>
Preferred inode limit
pub fn set_inodes_soft_limit(&mut Self, limit: u64)
Set the preferred limit of allocated inodes.
pub fn allocated_inodes(&Self) -> Option<u64>
Current number of allocated inodes.
pub fn block_time_limit(&Self) -> Option<u64>
Time limit for excessive disk use.
pub fn set_block_time_limit(&mut Self, limit: u64)
Set the time limit for excessive disk use.
pub fn inode_time_limit(&Self) -> Option<u64>
Time limit for excessive files.
pub fn set_inode_time_limit(&mut Self, limit: u64)
Set the time limit for excessive files.
Trait Implementations
impl Debug for Dqblk
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for Dqblk
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for Dqblk
impl StructuralPartialEq for Dqblk
Auto Trait Implementations
impl RefUnwindSafe for Dqblk
impl UnwindSafe for Dqblk
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T