Struct yubikey::Context []

pub struct Context {
    // some fields omitted
}

A libusb context.

Methods

impl Context

Opens a new libusb context.

Sets the log level of a libusb context.

Tests whether the running libusb library supports hotplug.

Tests whether the running libusb library has HID access.

Tests whether the running libusb library supports detaching the kernel driver.

Returns a list of the current USB devices. The context must outlive the device list.

Trait Implementations

impl Drop for Context

Closes the libusb context.