pub trait TypedVerificationMethod: VerificationMethod {
// Required methods
fn expected_type() -> Option<ExpectedType>;
fn type_match(ty: &str) -> bool;
fn type_(&self) -> &str;
}
Required Methods§
fn expected_type() -> Option<ExpectedType>
fn type_match(ty: &str) -> bool
fn type_(&self) -> &str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.