pub trait Interpreter<Ck, Res, Interest, Error>: Debug {
// Required methods
fn interpret(&self, input: Ck) -> InterpretationResult<Ck, Res, Error>;
fn at(&self, interest: Interest) -> bool;
}Expand description
Interpret a validated representation of a given piece of Metadata Information.
Required Methods§
Sourcefn interpret(&self, input: Ck) -> InterpretationResult<Ck, Res, Error>
fn interpret(&self, input: Ck) -> InterpretationResult<Ck, Res, Error>
Perform the semantics of the MI.
fn at(&self, interest: Interest) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".