CSTrait

Trait CSTrait 

Source
pub trait CSTrait:
    Clone
    + Copy
    + Send
    + Sync
    + 'static
    + Default {
    type Config: CSConfig;

    // Required method
    fn configure(
        self,
        ca: Vec<u8>,
        priv_key: Vec<u8>,
        cert: Vec<u8>,
    ) -> Self::Config;
}

Required Associated Types§

Required Methods§

Source

fn configure( self, ca: Vec<u8>, priv_key: Vec<u8>, cert: Vec<u8>, ) -> Self::Config

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§