Struct nix::sys::quota::Dqblk[][src]

#[repr(transparent)]pub struct Dqblk(_);

Wrapper type for if_dqblk

Implementations

impl Dqblk[src]

pub fn blocks_hard_limit(&self) -> Option<u64>[src]

The absolute limit on disk quota blocks allocated.

pub fn set_blocks_hard_limit(&mut self, limit: u64)[src]

Set the absolute limit on disk quota blocks allocated.

pub fn blocks_soft_limit(&self) -> Option<u64>[src]

Preferred limit on disk quota blocks

pub fn set_blocks_soft_limit(&mut self, limit: u64)[src]

Set the preferred limit on disk quota blocks allocated.

pub fn occupied_space(&self) -> Option<u64>[src]

Current occupied space (bytes).

pub fn inodes_hard_limit(&self) -> Option<u64>[src]

Maximum number of allocated inodes.

pub fn set_inodes_hard_limit(&mut self, limit: u64)[src]

Set the maximum number of allocated inodes.

pub fn inodes_soft_limit(&self) -> Option<u64>[src]

Preferred inode limit

pub fn set_inodes_soft_limit(&mut self, limit: u64)[src]

Set the preferred limit of allocated inodes.

pub fn allocated_inodes(&self) -> Option<u64>[src]

Current number of allocated inodes.

pub fn block_time_limit(&self) -> Option<u64>[src]

Time limit for excessive disk use.

pub fn set_block_time_limit(&mut self, limit: u64)[src]

Set the time limit for excessive disk use.

pub fn inode_time_limit(&self) -> Option<u64>[src]

Time limit for excessive files.

pub fn set_inode_time_limit(&mut self, limit: u64)[src]

Set the time limit for excessive files.

Trait Implementations

impl Clone for Dqblk[src]

impl Copy for Dqblk[src]

impl Debug for Dqblk[src]

impl Default for Dqblk[src]

impl Eq for Dqblk[src]

impl Hash for Dqblk[src]

impl PartialEq<Dqblk> for Dqblk[src]

impl StructuralEq for Dqblk[src]

impl StructuralPartialEq for Dqblk[src]

Auto Trait Implementations

impl RefUnwindSafe for Dqblk

impl Send for Dqblk

impl Sync for Dqblk

impl Unpin for Dqblk

impl UnwindSafe for Dqblk

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.