Trait yubihsm::connector::Connection[][src]

pub trait Connection: Send + Sync {
    fn send_message(
        &self,
        uuid: Uuid,
        msg: Vec<u8>
    ) -> Result<Vec<u8>, ConnectionError>; }

Connections to the HSM

Required Methods

Send a command message to the HSM, then read and return the response

Implementors