#[repr(C)]
pub struct Plugin { pub plugin_type: PluginType, pub info: *const c_void, pub name: *const u8, pub author: *const u8, pub descr: *const u8, pub license: License, }
Expand description

A plugin description,

Fields

plugin_type: PluginType

The type of the plugin.

info: *const c_void

Pointer to one of the supported info structures.

These are:

  • StorageEngineInfo
name: *const u8

The name of the plugin.

author: *const u8

The author (Person or organization).

descr: *const u8

The description.

license: License

The license under which the plugin is published.

Implementations

Create a Plugin information structure with all fields being zero.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.