Trait sktool::CtapDevice
source · pub trait CtapDevice: Sized {
// Required methods
fn devices<'async_trait>(
) -> Pin<Box<dyn Future<Output = Result<Vec<Self>, Error>> + 'async_trait>>
where Self: 'async_trait;
fn path(&self) -> &str;
}
Expand description
Common trait implemented by the different transport mechanisms for CTAP devices. Note: the ?Send is necessary to allow implementations to make FIDL calls becasuse the auto generated FIDL bindings don’t require threadsafe inputs.