Enum diem_config::config::SafetyRulesService [−][src]
pub enum SafetyRulesService {
Local,
Process(RemoteService),
Serializer,
Thread,
}Expand description
Defines how safety rules should be executed
Variants
This runs safety rules in the same thread as event processor
Process(RemoteService)This is the production, separate service approach
Tuple Fields of Process
This runs safety rules in the same thread as event processor but data is passed through the light weight RPC (serializer)
This creates a separate thread to run safety rules, it is similar to a fork / exec style
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 SafetyRulesService
impl Send for SafetyRulesService
impl Sync for SafetyRulesService
impl Unpin for SafetyRulesService
impl UnwindSafe for SafetyRulesService
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.