pub struct PluginLoaderConfig {
pub plugin_dirs: Vec<String>,
pub allow_unsigned: bool,
pub trusted_keys: Vec<String>,
pub key_data: HashMap<String, Vec<u8>>,
pub max_plugins: usize,
pub load_timeout_secs: u64,
pub debug_logging: bool,
pub skip_wasm_validation: bool,
}Expand description
Plugin loader configuration
Fields§
§plugin_dirs: Vec<String>Plugin directories to scan
allow_unsigned: boolAllow unsigned plugins (for development)
trusted_keys: Vec<String>Trusted public keys for plugin signing (key IDs)
key_data: HashMap<String, Vec<u8>>Key data storage (key_id -> key_bytes)
max_plugins: usizeMaximum plugins to load
load_timeout_secs: u64Plugin loading timeout
debug_logging: boolEnable debug logging
skip_wasm_validation: boolSkip WASM validation (for testing)
Trait Implementations§
Source§impl Clone for PluginLoaderConfig
impl Clone for PluginLoaderConfig
Source§fn clone(&self) -> PluginLoaderConfig
fn clone(&self) -> PluginLoaderConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginLoaderConfig
impl Debug for PluginLoaderConfig
Auto Trait Implementations§
impl Freeze for PluginLoaderConfig
impl RefUnwindSafe for PluginLoaderConfig
impl Send for PluginLoaderConfig
impl Sync for PluginLoaderConfig
impl Unpin for PluginLoaderConfig
impl UnwindSafe for PluginLoaderConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more