pub trait AbstractEngine: AbstractEngineSeal {
    type EngineError: Error;
    fn new() -> Result<Self, Self::EngineError>
    where
        Self: Sized
; }
Expand description

A top-level abstraction for engines of the concrete scheme.

An AbstractEngine is nothing more than a type with an associated error type EngineError and a default constructor.

The associated error type is expected to encode all the failure cases which can occur while using an engine.

Associated Types

The error associated to the engine.

Required methods

A constructor for the engine.

Implementors