pub struct RegistryConfiguration {
pub allow_factory_overrides: bool,
pub allow_instance_overrides: bool,
pub enable_version_validation: bool,
pub max_registered_factories: Option<usize>,
pub max_active_components: Option<usize>,
pub enable_plugin_auto_discovery: bool,
pub plugin_discovery_interval: Duration,
}Expand description
Registry configuration
Fields§
§allow_factory_overrides: boolAllow factory overrides
allow_instance_overrides: boolAllow instance overrides
enable_version_validation: boolEnable version validation
max_registered_factories: Option<usize>Maximum registered factories
max_active_components: Option<usize>Maximum active components
enable_plugin_auto_discovery: boolEnable plugin auto-discovery
plugin_discovery_interval: DurationPlugin discovery interval
Trait Implementations§
Source§impl Clone for RegistryConfiguration
impl Clone for RegistryConfiguration
Source§fn clone(&self) -> RegistryConfiguration
fn clone(&self) -> RegistryConfiguration
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 RegistryConfiguration
impl Debug for RegistryConfiguration
Auto Trait Implementations§
impl Freeze for RegistryConfiguration
impl RefUnwindSafe for RegistryConfiguration
impl Send for RegistryConfiguration
impl Sync for RegistryConfiguration
impl Unpin for RegistryConfiguration
impl UnwindSafe for RegistryConfiguration
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> 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