pub trait VerifierWithKnownExpectedToken {
    type Proof: Default + Send + Sync + 'static;

    // Required method
    fn expected_token(&self) -> &str;
}
Expand description

Trait for easily implementing a verifier when you know the expected token.

Required Associated Types§

source

type Proof: Default + Send + Sync + 'static

Required Methods§

Implementors§