Struct rlimit

#[repr(C)]
pub struct rlimit { pub rlim_cur: rlim_t, pub rlim_max: rlim_t }

Fields

rlim_cur: rlim_t
rlim_max: rlim_t

Trait Implementations

impl Clone for rlimit

fn clone(&self) -> Self

impl Copy for rlimit

impl Debug for rlimit

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for rlimit

impl Hash for rlimit

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for rlimit

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for rlimit

Auto Trait Implementations

impl Freeze for rlimit

impl RefUnwindSafe for rlimit

impl Send for rlimit

impl Sync for rlimit

impl Unpin for rlimit

impl UnsafeUnpin for rlimit

impl UnwindSafe for rlimit

Blanket Implementations

impl<T> Any for rlimit where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for rlimit where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for rlimit where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for rlimit where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for rlimit

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for rlimit where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for rlimit where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for rlimit where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>