pub trait Options: Send + Sync {
// Required methods
fn is_enabled(&self) -> bool;
fn include_redundant_members(&self) -> bool;
}Expand description
Exposes the lazy-loading decisions needed by the service.
Implementations adapt request filter types without coupling the storage logic to their concrete representation.
Required Methods§
Sourcefn is_enabled(&self) -> bool
fn is_enabled(&self) -> bool
Reports whether lazy loading is enabled.
Disabled options must not be passed to witness filtering.
Sourcefn include_redundant_members(&self) -> bool
fn include_redundant_members(&self) -> bool
Reports whether previously seen members should be included again.
When enabled, witness history does not remove candidates from the response.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".