#[repr(C)]pub struct Plugin {Show 14 fields
pub plugin_type: PluginType,
pub info: *const c_void,
pub name: *const u8,
pub author: *const u8,
pub descr: *const u8,
pub license: License,
pub init: *const InitFunc,
pub check_uninstall: *const CheckUninstallFunc,
pub deinit: *const DeinitFunc,
pub version: u32,
pub status_vars: *const c_void,
pub system_vars: *const c_void,
pub reserved: *const c_void,
pub flags: c_ulong,
}Expand description
A plugin description.
Fields§
§plugin_type: PluginTypeThe type of the plugin.
info: *const c_voidPointer to one of the supported info structures.
These are:
StorageEngineInfo
name: *const u8The name of the plugin.
The author (Person or organization).
descr: *const u8The description.
license: LicenseThe license under which the plugin is published.
init: *const InitFuncFunction to invoke when plugin is loaded.
check_uninstall: *const CheckUninstallFuncFunction to invoke when plugin is uninstalled.
deinit: *const DeinitFuncFunction to invoke when plugin is unloaded.
version: u32Version number of the plugin.
status_vars: *const c_voidTODO: SHOW STATUS Server status variable
system_vars: *const c_voidTODO: Definition of system vars structure for access their information in the plugin
reserved: *const c_voidReserved for dependency checking.
flags: c_ulongFlags for the plugin.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plugin
impl RefUnwindSafe for Plugin
impl !Send for Plugin
impl Unpin for Plugin
impl UnwindSafe for Plugin
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