#[repr(C)]pub struct Handlerton {
pub state: ShowCompOption,
pub db_type: LegacyDbType,
pub slot: u32,
pub savepoint_offset: u32,
pub close_connection: *const CloseConnectionFunc,
pub kill_connection: *const KillConnectionFunc,
pub pre_dd_shutdown: *const PreDdShutdownFunc,
}
Expand description
The HANDLER-singleTON.
Fields§
§state: ShowCompOption
Whether the plugin should be shown.
db_type: LegacyDbType
Historical number used for frm file to determine the correct storage engine.
slot: u32
Memory area of the storage engine.
savepoint_offset: u32
To store per-savepoint data storage engine is provided with an area of a requested size (0 is ok here).
close_connection: *const CloseConnectionFunc
§kill_connection: *const KillConnectionFunc
§pre_dd_shutdown: *const PreDdShutdownFunc
Trait Implementations§
Source§impl Clone for Handlerton
impl Clone for Handlerton
Source§fn clone(&self) -> Handlerton
fn clone(&self) -> Handlerton
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for Handlerton
Auto Trait Implementations§
impl Freeze for Handlerton
impl RefUnwindSafe for Handlerton
impl !Send for Handlerton
impl !Sync for Handlerton
impl Unpin for Handlerton
impl UnwindSafe for Handlerton
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