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

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

Wrapper type for if_dqblk

Methods

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 Copy for Dqblk
[src]

impl Default for Dqblk
[src]

impl Clone for Dqblk
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Dqblk

impl Sync for Dqblk

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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