#[repr(C)]pub struct RlimitEntry {
pub resource: c_int,
pub limit: rlimit,
}Expand description
One setrlimit call.
Fields§
§resource: c_int§limit: rlimitTrait Implementations§
Source§impl Clone for RlimitEntry
impl Clone for RlimitEntry
Source§fn clone(&self) -> RlimitEntry
fn clone(&self) -> RlimitEntry
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 RlimitEntry
impl Debug for RlimitEntry
impl Copy for RlimitEntry
Auto Trait Implementations§
impl Freeze for RlimitEntry
impl RefUnwindSafe for RlimitEntry
impl Send for RlimitEntry
impl Sync for RlimitEntry
impl Unpin for RlimitEntry
impl UnsafeUnpin for RlimitEntry
impl UnwindSafe for RlimitEntry
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