Enum rustix::process::Resource
#[repr(u32)]
pub enum Resource {
Cpu,
Fsize,
Data,
Stack,
Core,
Rss,
Nproc,
Nofile,
Memlock,
As,
Locks,
Sigpending,
Msgqueue,
Nice,
Rtprio,
Rttime,
}Variants
CpuRLIMIT_CPU
FsizeRLIMIT_FSIZE
DataRLIMIT_DATA
StackRLIMIT_STACK
CoreRLIMIT_CORE
RssRLIMIT_RSS
NprocRLIMIT_NPROC
NofileRLIMIT_NOFILE
MemlockRLIMIT_MEMLOCK
AsRLIMIT_AS
LocksRLIMIT_LOCKS
SigpendingRLIMIT_SIGPENDING
MsgqueueRLIMIT_MSGQUEUE
NiceRLIMIT_NICE
RtprioRLIMIT_RTPRIO
RttimeRLIMIT_RTTIME
Trait Implementations
impl Debug for Resource
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl StructuralEq for Resourceimpl StructuralPartialEq for ResourceAuto Trait Implementations
impl RefUnwindSafe for Resourceimpl UnwindSafe for ResourceBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T