Struct mariadb_sys::PSI_table_locker_state
source · #[repr(C)]pub struct PSI_table_locker_state {
pub m_flags: uint,
pub m_io_operation: Type,
pub m_table: *mut PSI_table,
pub m_table_share: *mut PSI_table_share,
pub m_thread: *mut PSI_thread,
pub m_timer_start: ulonglong,
pub m_timer: Option<unsafe extern "C" fn() -> ulonglong>,
pub m_wait: *mut c_void,
pub m_index: uint,
}Expand description
State data storage for @c start_table_io_wait_v1_t, @c start_table_lock_wait_v1_t. This structure provide temporary storage to a table locker. The content of this structure is considered opaque, the fields are only hints of what an implementation of the psi interface can use. This memory is provided by the instrumented code for performance reasons. @sa start_table_io_wait_v1_t @sa start_table_lock_wait_v1_t
Fields§
§m_flags: uintInternal state.
m_io_operation: TypeCurrent io operation.
m_table: *mut PSI_tableCurrent table handle.
Current table share.
m_thread: *mut PSI_threadCurrent thread.
m_timer_start: ulonglongTimer start.
m_timer: Option<unsafe extern "C" fn() -> ulonglong>Timer function.
m_wait: *mut c_voidInternal data.
m_index: uintImplementation specific. For table io, the table io index. For table lock, the lock type.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PSI_table_locker_state
impl !Send for PSI_table_locker_state
impl !Sync for PSI_table_locker_state
impl Unpin for PSI_table_locker_state
impl UnwindSafe for PSI_table_locker_state
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