Struct diem_config::config::SafetyRulesConfig [−][src]
pub struct SafetyRulesConfig {
pub backend: SecureBackend,
pub logger: LoggerConfig,
pub service: SafetyRulesService,
pub test: Option<SafetyRulesTestConfig>,
pub verify_vote_proposal_signature: bool,
pub export_consensus_key: bool,
pub network_timeout_ms: u64,
pub enable_cached_safety_data: bool,
}Fields
backend: SecureBackendlogger: LoggerConfigservice: SafetyRulesServicetest: Option<SafetyRulesTestConfig>verify_vote_proposal_signature: boolexport_consensus_key: boolnetwork_timeout_ms: u64enable_cached_safety_data: boolImplementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SafetyRulesConfig
impl Send for SafetyRulesConfig
impl Sync for SafetyRulesConfig
impl Unpin for SafetyRulesConfig
impl UnwindSafe for SafetyRulesConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.