pub struct ConnectedKey {
pub path: PathBuf,
pub serial: Option<String>,
pub label: String,
}Expand description
A currently-connected device as seen by the resolver. The caller builds
these from device enumeration; serial is the device’s effective serial
(USB or CCID), None if it couldn’t be determined.
Fields§
§path: PathBuf§serial: Option<String>§label: StringTrait Implementations§
Source§impl Clone for ConnectedKey
impl Clone for ConnectedKey
Source§fn clone(&self) -> ConnectedKey
fn clone(&self) -> ConnectedKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnectedKey
impl RefUnwindSafe for ConnectedKey
impl Send for ConnectedKey
impl Sync for ConnectedKey
impl Unpin for ConnectedKey
impl UnsafeUnpin for ConnectedKey
impl UnwindSafe for ConnectedKey
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