#[repr(C)]pub struct PdActorTypeInfo {
pub type_name: *const u8,
pub type_name_len: u32,
pub config_schema: *const u8,
pub config_schema_len: u32,
}Expand description
Metadata for a single actor type exported by a plugin.
All string pointers are not null-terminated; use the accompanying
_len field for the byte count.
config_schema is optional: set to a null pointer and config_schema_len
to 0 if the actor type accepts no configuration.
The pointed-to data must remain valid for the lifetime of the plugin.
Fields§
§type_name: *const u8UTF-8 actor type name (e.g. b"echo") — not null-terminated.
type_name_len: u32Byte length of type_name.
config_schema: *const u8Optional UTF-8 JSON Schema for actor configuration, or null.
config_schema_len: u32Byte length of config_schema, or 0 if null.
Auto Trait Implementations§
impl Freeze for PdActorTypeInfo
impl RefUnwindSafe for PdActorTypeInfo
impl !Send for PdActorTypeInfo
impl !Sync for PdActorTypeInfo
impl Unpin for PdActorTypeInfo
impl UnsafeUnpin for PdActorTypeInfo
impl UnwindSafe for PdActorTypeInfo
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