Struct mariadb_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_ushort,
pub flags: c_ushort,
pub error_handler: Option<unsafe extern "C" fn()>,
pub 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_ushort
§flags: c_ushort
§error_handler: Option<unsafe extern "C" fn()>
§psi_key: PSI_memory_key
Trait Implementations§
Auto Trait Implementations§
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