Skip to main content

Signer

Trait Signer 

Source
pub trait Signer<T> {
    type Output;

    // Required method
    fn sign(&self, target: &mut T, uid: String) -> Result<Self::Output>;
}
Expand description

An interface for types that can sign another type (i.e., a certificate).

Required Associated Types§

Source

type Output

The now-signed type.

Required Methods§

Source

fn sign(&self, target: &mut T, uid: String) -> Result<Self::Output>

Signs the target.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§