Trait s2n_tls::callbacks::PrivateKeyCallback

source ·
pub trait PrivateKeyCallback: 'static + Send + Sync {
    // Required method
    fn handle_operation(
        &self,
        connection: &mut Connection,
        operation: PrivateKeyOperation
    ) -> Result<Option<Pin<Box<dyn ConnectionFuture>>>, Error>;
}

Required Methods§

source

fn handle_operation( &self, connection: &mut Connection, operation: PrivateKeyOperation ) -> Result<Option<Pin<Box<dyn ConnectionFuture>>>, Error>

Implementors§