Type Alias tor_keymgr::Error

source ·
pub type Error = Box<dyn KeystoreError>;
Expand description

An Error type for this crate.

Aliased Type§

struct Error(/* private fields */);

Trait Implementations§

source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn StdError + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl<K: KeystoreError + Send + Sync> From<K> for Error

source§

fn from(k: K) -> Self

Converts to this type from the input type.