Struct nix::sys::quota::Dqblk [−][src]
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,