pub enum SetRLimitError {
Invalid,
}
Expand description
An error value returned from the failure of [‘set_resource_limit’].
Variants§
Invalid
[EINVAL] The limit specified cannot be lowered because current usage is already higher than the limit.
Trait Implementations§
Source§impl Clone for SetRLimitError
impl Clone for SetRLimitError
Source§fn clone(&self) -> SetRLimitError
fn clone(&self) -> SetRLimitError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SetRLimitError
impl Debug for SetRLimitError
Source§impl Hash for SetRLimitError
impl Hash for SetRLimitError
Source§impl Ord for SetRLimitError
impl Ord for SetRLimitError
Source§fn cmp(&self, other: &SetRLimitError) -> Ordering
fn cmp(&self, other: &SetRLimitError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SetRLimitError
impl PartialEq for SetRLimitError
Source§impl PartialOrd for SetRLimitError
impl PartialOrd for SetRLimitError
impl Copy for SetRLimitError
impl Eq for SetRLimitError
impl StructuralPartialEq for SetRLimitError
Auto Trait Implementations§
impl Freeze for SetRLimitError
impl RefUnwindSafe for SetRLimitError
impl Send for SetRLimitError
impl Sync for SetRLimitError
impl Unpin for SetRLimitError
impl UnwindSafe for SetRLimitError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more