[][src]Struct nginx::ngx_slab_pool_t

#[repr(C)]pub struct ngx_slab_pool_t {
    pub lock: ngx_shmtx_sh_t,
    pub min_size: size_t,
    pub min_shift: size_t,
    pub pages: *mut ngx_slab_page_t,
    pub last: *mut ngx_slab_page_t,
    pub free: ngx_slab_page_t,
    pub stats: *mut ngx_slab_stat_t,
    pub pfree: ngx_uint_t,
    pub start: *mut u_char,
    pub end: *mut u_char,
    pub mutex: ngx_shmtx_t,
    pub log_ctx: *mut u_char,
    pub zero: u_char,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub data: *mut c_void,
    pub addr: *mut c_void,
}

Fields

lock: ngx_shmtx_sh_tmin_size: size_tmin_shift: size_tpages: *mut ngx_slab_page_tlast: *mut ngx_slab_page_tfree: ngx_slab_page_tstats: *mut ngx_slab_stat_tpfree: ngx_uint_tstart: *mut u_charend: *mut u_charmutex: ngx_shmtx_tlog_ctx: *mut u_charzero: u_char_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>data: *mut c_voidaddr: *mut c_void

Implementations

impl ngx_slab_pool_t[src]

pub fn log_nomem(&self) -> c_uint[src]

pub fn set_log_nomem(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(log_nomem: c_uint) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]

Trait Implementations

impl Clone for ngx_slab_pool_t[src]

impl Copy for ngx_slab_pool_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_slab_pool_t

impl !Send for ngx_slab_pool_t

impl !Sync for ngx_slab_pool_t

impl Unpin for ngx_slab_pool_t

impl UnwindSafe for ngx_slab_pool_t

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.