Enum diem_config::config::ExecutionCorrectnessService [−][src]
pub enum ExecutionCorrectnessService {
Local,
Process(RemoteExecutionService),
Serializer,
Thread,
}Expand description
Defines how execution correctness should be run
Variants
This runs execution correctness in the same thread as event processor.
Process(RemoteExecutionService)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 execution correctness, 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 ExecutionCorrectnessService
impl Send for ExecutionCorrectnessService
impl Sync for ExecutionCorrectnessService
impl Unpin for ExecutionCorrectnessService
impl UnwindSafe for ExecutionCorrectnessService
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.