Skip to main content

Interpreter

Trait Interpreter 

Source
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§

Source

fn interpret(&self, input: Ck) -> InterpretationResult<Ck, Res, Error>

Perform the semantics of the MI.

Source

fn at(&self, interest: Interest) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§