[][src]Struct yubihsm::device::Info

pub struct Info {
    pub major_version: u8,
    pub minor_version: u8,
    pub build_version: u8,
    pub serial_number: Number,
    pub log_store_capacity: u8,
    pub log_store_used: u8,
    pub algorithms: Vec<Algorithm>,
}

Information about an HSM device

Fields

major_version: u8

Device major version

minor_version: u8

Device minor version

build_version: u8

Device build version (i.e. patchlevel)

serial_number: Number

Device serial number

log_store_capacity: u8

Size of the log store (in lines/entries)

log_store_used: u8

Number of log lines used

algorithms: Vec<Algorithm>

Supported algorithms

Trait Implementations

impl Clone for Info[src]

impl Debug for Info[src]

impl Serialize for Info[src]

impl<'de> Deserialize<'de> for Info[src]

Auto Trait Implementations

impl Send for Info

impl Sync for Info

impl Unpin for Info

impl UnwindSafe for Info

impl RefUnwindSafe for Info

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self