pub trait ClientConfig: Send + Sync {
    // Required method
    fn start_session(
        self: Arc<Self>,
        version: u32,
        server_name: &str,
        params: &TransportParameters
    ) -> Result<Box<dyn Session>, ConnectError>;
}
Expand description

Client-side configuration for the crypto protocol

Required Methods§

source

fn start_session( self: Arc<Self>, version: u32, server_name: &str, params: &TransportParameters ) -> Result<Box<dyn Session>, ConnectError>

Start a client session with this configuration

Implementations on Foreign Types§

source§

impl ClientConfig for ClientConfig

source§

fn start_session( self: Arc<Self>, version: u32, server_name: &str, params: &TransportParameters ) -> Result<Box<dyn Session>, ConnectError>

Implementors§