[][src]Struct yubihsm::device::StorageInfo

pub struct StorageInfo {
    pub total_records: u16,
    pub free_records: u16,
    pub total_pages: u16,
    pub free_pages: u16,
    pub page_size: u16,
}

Response from the Get Storage Info command.

Fields

total_records: u16

Total number of storage records

free_records: u16

Storage records which are currently free

total_pages: u16

Total number of storage pages

free_pages: u16

Storage pages which are currently free

page_size: u16

Page size in bytes

Trait Implementations

impl Clone for Info[src]

impl Debug for Info[src]

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

impl Serialize for Info[src]

Auto Trait Implementations

impl RefUnwindSafe for Info

impl Send for Info

impl Sync for Info

impl Unpin for Info

impl UnwindSafe for Info

Blanket Implementations

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.