[][src]Struct rebpf_sys::libbpf_sys::sysinfo

#[repr(C)]pub struct sysinfo {
    pub uptime: __kernel_long_t,
    pub loads: [__kernel_ulong_t; 3],
    pub totalram: __kernel_ulong_t,
    pub freeram: __kernel_ulong_t,
    pub sharedram: __kernel_ulong_t,
    pub bufferram: __kernel_ulong_t,
    pub totalswap: __kernel_ulong_t,
    pub freeswap: __kernel_ulong_t,
    pub procs: __u16,
    pub pad: __u16,
    pub totalhigh: __kernel_ulong_t,
    pub freehigh: __kernel_ulong_t,
    pub mem_unit: __u32,
    pub _f: __IncompleteArrayField<c_char>,
}

Fields

uptime: __kernel_long_tloads: [__kernel_ulong_t; 3]totalram: __kernel_ulong_tfreeram: __kernel_ulong_tsharedram: __kernel_ulong_tbufferram: __kernel_ulong_ttotalswap: __kernel_ulong_tfreeswap: __kernel_ulong_tprocs: __u16pad: __u16totalhigh: __kernel_ulong_tfreehigh: __kernel_ulong_tmem_unit: __u32_f: __IncompleteArrayField<c_char>

Trait Implementations

impl Debug for sysinfo[src]

Auto Trait Implementations

impl RefUnwindSafe for sysinfo

impl Send for sysinfo

impl Sync for sysinfo

impl Unpin for sysinfo

impl UnwindSafe for sysinfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.