Skip to main content

Select

Trait Select 

Source
pub trait Select<'t>: From<&'t mut dyn Transport> {
    const RID: &'static [u8];
    const PIX: &'static [u8];

    // Provided methods
    fn application_id() -> Vec<u8>  { ... }
    fn select(transport: &'t mut dyn Transport) -> Result<Self> { ... }
}

Required Associated Constants§

Source

const RID: &'static [u8]

Source

const PIX: &'static [u8]

Provided Methods§

Source

fn application_id() -> Vec<u8>

Source

fn select(transport: &'t mut dyn Transport) -> Result<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'t> Select<'t> for solo2::apps::admin::App<'t>

Source§

const RID: &'static [u8] = super::Rid::SOLOKEYS

Source§

const PIX: &'static [u8] = super::Pix::ADMIN

Source§

impl<'t> Select<'t> for solo2::apps::ndef::App<'t>

Source§

const RID: &'static [u8] = super::Rid::NFC_FORUM

Source§

const PIX: &'static [u8] = super::Pix::NDEF

Source§

impl<'t> Select<'t> for solo2::apps::oath::App<'t>

Source§

const RID: &'static [u8] = super::Rid::YUBICO

Source§

const PIX: &'static [u8] = super::Pix::OATH

Source§

impl<'t> Select<'t> for solo2::apps::piv::App<'t>

Source§

const RID: &'static [u8] = super::Rid::NIST

Source§

const PIX: &'static [u8] = super::Pix::PIV

Source§

impl<'t> Select<'t> for solo2::apps::provision::App<'t>

Source§

const RID: &'static [u8] = super::Rid::SOLOKEYS

Source§

const PIX: &'static [u8] = super::Pix::PROVISION

Source§

impl<'t> Select<'t> for solo2::apps::qa::App<'t>

Source§

const RID: &'static [u8] = super::Rid::SOLOKEYS

Source§

const PIX: &'static [u8] = super::Pix::QA