pub struct EngineConfig {
pub verifier: Box<dyn Verifier>,
pub pacemaker: Option<PacemakerConfig>,
pub persistence: Option<Box<dyn StatePersistence>>,
}Expand description
Configuration for ConsensusEngine.
Fields§
§verifier: Box<dyn Verifier>§pacemaker: Option<PacemakerConfig>§persistence: Option<Box<dyn StatePersistence>>Auto Trait Implementations§
impl Freeze for EngineConfig
impl !RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl !Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl !UnwindSafe for EngineConfig
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