pub struct RustValidatorRegistryConfig {
pub enabled: bool,
pub cache_validators: bool,
pub max_cache_size: usize,
}Expand description
Configuration for the Rust validator registry
Fields§
§enabled: boolEnable ELO Rust validator compilation and caching
cache_validators: boolCache compiled validators for reuse
max_cache_size: usizeMaximum number of validators to cache
Trait Implementations§
Source§impl Clone for RustValidatorRegistryConfig
impl Clone for RustValidatorRegistryConfig
Source§fn clone(&self) -> RustValidatorRegistryConfig
fn clone(&self) -> RustValidatorRegistryConfig
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 RustValidatorRegistryConfig
impl Debug for RustValidatorRegistryConfig
Auto Trait Implementations§
impl Freeze for RustValidatorRegistryConfig
impl RefUnwindSafe for RustValidatorRegistryConfig
impl Send for RustValidatorRegistryConfig
impl Sync for RustValidatorRegistryConfig
impl Unpin for RustValidatorRegistryConfig
impl UnsafeUnpin for RustValidatorRegistryConfig
impl UnwindSafe for RustValidatorRegistryConfig
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