#[repr(C)]pub struct MetaKv {
pub key: *const i8,
pub value: *const i8,
}Expand description
Static key/value pair for method-level or trait-level metadata.
Both key and value point to null-terminated UTF-8 C strings with
'static lifetime (typically string literals embedded in the plugin’s
.rodata). Fidius treats values as opaque — hosts define conventions
via their own metadata schemas. See ADR/spec for the fidius.*
reserved namespace.
Fields§
§key: *const i8Null-terminated UTF-8 key. Never null.
value: *const i8Null-terminated UTF-8 value. Never null (may be empty string).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaKv
impl RefUnwindSafe for MetaKv
impl Unpin for MetaKv
impl UnsafeUnpin for MetaKv
impl UnwindSafe for MetaKv
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