Skip to main content

SigningCredential

Trait SigningCredential 

Source
pub trait SigningCredential:
    Clone
    + Debug
    + Send
    + Sync
    + Unpin
    + 'static {
    // Required method
    fn is_valid(&self) -> bool;
}
Expand description

SigningCredential is the trait used by signer as the signing credential.

Required Methods§

Source

fn is_valid(&self) -> bool

Check if the signing credential is valid.

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.

Implementations on Foreign Types§

Source§

impl<T: SigningCredential> SigningCredential for Option<T>

Source§

fn is_valid(&self) -> bool

Implementors§