#[repr(C)]pub struct PluginMetadata {
pub name: *const c_char,
pub version: *const c_char,
pub vendor: *const c_char,
pub license: *const c_char,
pub homepage_url: *const c_char,
pub source_url: *const c_char,
pub issue_tracker_url: *const c_char,
pub description: *const c_char,
}Expand description
#[repr(C)] metadata struct returned by cfmp_metadata. Layout
matches confium_core::ffi::plugin::CFMPluginMetadata so the loader
can reinterpret the pointer.
Wire-stable: never reorder, repurpose, or remove existing fields.
Fields§
§name: *const c_char§version: *const c_char§vendor: *const c_char§license: *const c_char§homepage_url: *const c_char§source_url: *const c_char§issue_tracker_url: *const c_char§description: *const c_charTrait Implementations§
impl Send for PluginMetadata
impl Sync for PluginMetadata
Auto Trait Implementations§
impl Freeze for PluginMetadata
impl RefUnwindSafe for PluginMetadata
impl Unpin for PluginMetadata
impl UnsafeUnpin for PluginMetadata
impl UnwindSafe for PluginMetadata
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