#[repr(u32)]pub enum Resource {
Show 16 variants
Cpu = 0,
Fsize = 1,
Data = 2,
Stack = 3,
Core = 4,
Rss = 5,
Nproc = 6,
Nofile = 7,
Memlock = 8,
As = 9,
Locks = 10,
Sigpending = 11,
Msgqueue = 12,
Nice = 13,
Rtprio = 14,
Rttime = 15,
}
Variants§
Cpu = 0
RLIMIT_CPU
Fsize = 1
RLIMIT_FSIZE
Data = 2
RLIMIT_DATA
Stack = 3
RLIMIT_STACK
Core = 4
RLIMIT_CORE
Rss = 5
RLIMIT_RSS
Nproc = 6
RLIMIT_NPROC
Nofile = 7
RLIMIT_NOFILE
Memlock = 8
RLIMIT_MEMLOCK
As = 9
RLIMIT_AS
Locks = 10
RLIMIT_LOCKS
Sigpending = 11
RLIMIT_SIGPENDING
Msgqueue = 12
RLIMIT_MSGQUEUE
Nice = 13
RLIMIT_NICE
Rtprio = 14
RLIMIT_RTPRIO
Rttime = 15
RLIMIT_RTTIME
Trait Implementations§
source§impl PartialEq for Resource
impl PartialEq for Resource
impl Copy for Resource
impl Eq for Resource
impl StructuralEq for Resource
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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