KeystoreEntryResult

Type Alias KeystoreEntryResult 

Source
pub type KeystoreEntryResult<T> = Result<T, UnrecognizedEntryError>;
Available on crate feature keymgr only.
Expand description

A type alias returned by Keystore::list.

Aliased Type§

pub enum KeystoreEntryResult<T> {
    Ok(T),
    Err(UnrecognizedEntryError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(UnrecognizedEntryError)

Contains the error value

Trait Implementations§

Source§

impl<'a> From<KeystoreEntry<'a>> for KeystoreEntryResult<KeystoreEntry<'a>>

Source§

fn from(val: KeystoreEntry<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<UnrecognizedEntryError> for KeystoreEntryResult<KeystoreEntry<'a>>

Source§

fn from(val: UnrecognizedEntryError) -> Self

Converts to this type from the input type.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.