Type Alias mysqlclient_sys::MEM_ROOT

source ·
pub type MEM_ROOT = st_mem_root;

Aliased Type§

struct MEM_ROOT {
    pub free: *mut st_used_mem,
    pub used: *mut st_used_mem,
    pub pre_alloc: *mut st_used_mem,
    pub min_malloc: usize,
    pub block_size: usize,
    pub block_num: u32,
    pub first_block_usage: u32,
    pub max_capacity: usize,
    pub allocated_size: usize,
    pub error_for_capacity_exceeded: i8,
    pub error_handler: Option<unsafe extern "C" fn()>,
    pub m_psi_key: u32,
}

Fields§

§free: *mut st_used_mem§used: *mut st_used_mem§pre_alloc: *mut st_used_mem§min_malloc: usize§block_size: usize§block_num: u32§first_block_usage: u32§max_capacity: usize§allocated_size: usize§error_for_capacity_exceeded: i8§error_handler: Option<unsafe extern "C" fn()>§m_psi_key: u32