Struct yubihsm::connector::usb::UsbConnector
source · pub struct UsbConnector(_);
Available on crate feature
usb
only.Expand description
Connect to the HSM via USB.
UsbConnector
is available when the usb
cargo feature is enabled.
It requires rusb
as a dependency, but does not otherwise need the
Yubico SDK.
Implementations§
Trait Implementations§
source§impl Clone for UsbConnector
impl Clone for UsbConnector
source§fn clone(&self) -> UsbConnector
fn clone(&self) -> UsbConnector
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UsbConnector
impl Debug for UsbConnector
source§impl Default for UsbConnector
impl Default for UsbConnector
source§fn default() -> UsbConnector
fn default() -> UsbConnector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UsbConnector
impl Send for UsbConnector
impl Sync for UsbConnector
impl Unpin for UsbConnector
impl UnwindSafe for UsbConnector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more