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

impl Sync for Dqblk

impl Send for Dqblk

impl UnwindSafe for Dqblk

impl RefUnwindSafe for Dqblk

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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