[−][src]Struct nix::sys::quota::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 Default for Dqblk
[src]
impl Clone for Dqblk
[src]
fn clone(&self) -> Dqblk
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Dqblk
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,