pub struct SetrlimitArgs {
pub resource: c_int,
pub rlim: InspectResult<rlimit>,
}Fields§
§resource: c_int§rlim: InspectResult<rlimit>Trait Implementations§
Source§impl Clone for SetrlimitArgs
impl Clone for SetrlimitArgs
Source§fn clone(&self) -> SetrlimitArgs
fn clone(&self) -> SetrlimitArgs
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 SetrlimitArgs
impl Debug for SetrlimitArgs
Source§impl From<SetrlimitArgs> for SyscallArgs
impl From<SetrlimitArgs> for SyscallArgs
Source§fn from(args: SetrlimitArgs) -> Self
fn from(args: SetrlimitArgs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetrlimitArgs
impl PartialEq for SetrlimitArgs
Source§impl SyscallGroupsGetter for SetrlimitArgs
impl SyscallGroupsGetter for SetrlimitArgs
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for SetrlimitArgs
impl SyscallNumber for SetrlimitArgs
fn syscall_number(&self) -> isize
impl StructuralPartialEq for SetrlimitArgs
Auto Trait Implementations§
impl Freeze for SetrlimitArgs
impl RefUnwindSafe for SetrlimitArgs
impl Send for SetrlimitArgs
impl Sync for SetrlimitArgs
impl Unpin for SetrlimitArgs
impl UnwindSafe for SetrlimitArgs
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