pub struct PluginManagerConfig {
pub plugin_paths: Vec<PathBuf>,
pub auto_discovery: bool,
pub max_plugins: usize,
pub loading_timeout: Duration,
pub enable_validation: bool,
pub cache_directory: Option<PathBuf>,
pub enable_hot_reload: bool,
pub api_version: String,
}Expand description
Configuration for the plugin manager
Fields§
§plugin_paths: Vec<PathBuf>Plugin discovery paths
auto_discovery: boolEnable automatic plugin discovery
max_plugins: usizeMaximum number of plugins to load
loading_timeout: DurationPlugin loading timeout
enable_validation: boolEnable plugin validation
cache_directory: Option<PathBuf>Plugin cache directory
enable_hot_reload: boolEnable plugin hot-reloading
api_version: StringPlugin API version compatibility
Trait Implementations§
Source§impl Clone for PluginManagerConfig
impl Clone for PluginManagerConfig
Source§fn clone(&self) -> PluginManagerConfig
fn clone(&self) -> PluginManagerConfig
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 PluginManagerConfig
impl Debug for PluginManagerConfig
Source§impl Default for PluginManagerConfig
impl Default for PluginManagerConfig
Source§impl<'de> Deserialize<'de> for PluginManagerConfig
impl<'de> Deserialize<'de> for PluginManagerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginManagerConfig
impl RefUnwindSafe for PluginManagerConfig
impl Send for PluginManagerConfig
impl Sync for PluginManagerConfig
impl Unpin for PluginManagerConfig
impl UnsafeUnpin for PluginManagerConfig
impl UnwindSafe for PluginManagerConfig
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> 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