Struct mysqlclient_sys::st_mem_root
source · #[repr(C)]pub struct st_mem_root {
pub free: *mut USED_MEM,
pub used: *mut USED_MEM,
pub pre_alloc: *mut USED_MEM,
pub min_malloc: usize,
pub block_size: usize,
pub block_num: c_uint,
pub first_block_usage: c_uint,
pub max_capacity: usize,
pub allocated_size: usize,
pub error_for_capacity_exceeded: my_bool,
pub error_handler: Option<unsafe extern "C" fn()>,
pub m_psi_key: PSI_memory_key,
}
Fields§
§free: *mut USED_MEM
§used: *mut USED_MEM
§pre_alloc: *mut USED_MEM
§min_malloc: usize
§block_size: usize
§block_num: c_uint
§first_block_usage: c_uint
§max_capacity: usize
§allocated_size: usize
§error_for_capacity_exceeded: my_bool
§error_handler: Option<unsafe extern "C" fn()>
§m_psi_key: PSI_memory_key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for st_mem_root
impl RefUnwindSafe for st_mem_root
impl !Send for st_mem_root
impl !Sync for st_mem_root
impl Unpin for st_mem_root
impl UnwindSafe for st_mem_root
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