Skip to main content

CertIssuer

Trait CertIssuer 

Source
pub trait CertIssuer:
    Send
    + Sync
    + 'static {
    // Required methods
    fn id(&self) -> &str;
    fn provenance(&self) -> CertificateProvenance;
    fn issue<'life0, 'async_trait>(
        &'life0 self,
        request: IssueRequest,
    ) -> Pin<Box<dyn Future<Output = Result<IssuedCertificate>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn id(&self) -> &str

Source

fn provenance(&self) -> CertificateProvenance

Source

fn issue<'life0, 'async_trait>( &'life0 self, request: IssueRequest, ) -> Pin<Box<dyn Future<Output = Result<IssuedCertificate>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§