AuthenticatorTrait

Trait AuthenticatorTrait 

Source
pub trait AuthenticatorTrait {
    // Required method
    fn verify_claims<T>(
        &self,
        value: &IntentMessage<T>,
        author: IotaAddress,
        aux_verify_data: &VerifyParams,
    ) -> IotaResult
       where T: Serialize;
}
Expand description

A lightweight trait that all members of [enum GenericSignature] implement.

Required Methods§

Source

fn verify_claims<T>( &self, value: &IntentMessage<T>, author: IotaAddress, aux_verify_data: &VerifyParams, ) -> IotaResult
where T: Serialize,

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.

Implementors§