Pure Rust client for YubiHSM2 devices with support for HTTP and
USB-based access to the device. Supports most HSM functionality
including ECDSA, Ed25519, HMAC, and RSA.
//! Trait for YubiHSM2 interfaces which can be connected to
usecrate::connector::{self, Connection};/// Connectors which create `Connection` objects to the HSM
pubtraitConnectable: Send + Sync {/// Make a clone of this connectable as boxed trait object
fnbox_clone(&self)->Box<dyn Connectable>;/// Open a connection to the HSM using this `Connector`
fnconnect(&self)->Result<Box<dyn Connection>, connector::Error>;}