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§
Trait Implementations§
Source§impl<'a> From<KeystoreEntry<'a>> for KeystoreEntryResult<KeystoreEntry<'a>>
impl<'a> From<KeystoreEntry<'a>> for KeystoreEntryResult<KeystoreEntry<'a>>
Source§fn from(val: KeystoreEntry<'a>) -> Self
fn from(val: KeystoreEntry<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<UnrecognizedEntryError> for KeystoreEntryResult<KeystoreEntry<'a>>
impl<'a> From<UnrecognizedEntryError> for KeystoreEntryResult<KeystoreEntry<'a>>
Source§fn from(val: UnrecognizedEntryError) -> Self
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.