Skip to main content

Verifier

Trait Verifier 

Source
pub trait Verifier<Ck, Error>: Debug {
    // Required methods
    fn analyze(
        &self,
        v: &TypedGenericMetadata<()>,
        input: Ck,
    ) -> AnalysisResult<Ck, Error>;
    fn type_name(&self, candidate: &str) -> bool;
}
Expand description

Generate a validated representation of a given piece of TypedGenericMetadata information, if possible.

Required Methods§

Source

fn analyze( &self, v: &TypedGenericMetadata<()>, input: Ck, ) -> AnalysisResult<Ck, Error>

Source

fn type_name(&self, candidate: &str) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§