#[repr(C)]pub struct NK_device_info {
pub model: NK_device_model,
pub path: *mut c_char,
pub serial_number: *mut c_char,
pub next: *mut NK_device_info,
}Expand description
The connection info for a Nitrokey device as a linked list.
Fields§
§model: NK_device_modelThe model of the Nitrokey device.
path: *mut c_charThe USB device path for NK_connect_with_path.
serial_number: *mut c_charThe serial number.
next: *mut NK_device_infoThe pointer to the next element of the linked list or null if this is the last element in the list.
Trait Implementations§
Source§impl Clone for NK_device_info
impl Clone for NK_device_info
Source§fn clone(&self) -> NK_device_info
fn clone(&self) -> NK_device_info
Returns a duplicate 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 NK_device_info
impl Debug for NK_device_info
Source§impl Default for NK_device_info
impl Default for NK_device_info
impl Copy for NK_device_info
Auto Trait Implementations§
impl Freeze for NK_device_info
impl RefUnwindSafe for NK_device_info
impl !Send for NK_device_info
impl !Sync for NK_device_info
impl Unpin for NK_device_info
impl UnwindSafe for NK_device_info
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