Trait FsMistrustErrorExt

Source
pub trait FsMistrustErrorExt: Sealed {
    // Required methods
    fn cache_error_kind(&self) -> ErrorKind;
    fn state_error_kind(&self) -> ErrorKind;
    fn keystore_error_kind(&self) -> ErrorKind;
}
Expand description

Extension trait for getting a [tor_error::ErrorKind] from a fs_mistrust::Error

Required Methods§

Source

fn cache_error_kind(&self) -> ErrorKind

The error kind if we were trying to accessa cache directory

Source

fn state_error_kind(&self) -> ErrorKind

The error kind if we were trying to accessa persistent state directory

Source

fn keystore_error_kind(&self) -> ErrorKind

The error kind if we were trying to accessa keystore

Implementations on Foreign Types§

Source§

impl FsMistrustErrorExt for Error

Source§

fn cache_error_kind(&self) -> ErrorKind

Source§

fn state_error_kind(&self) -> ErrorKind

Source§

fn keystore_error_kind(&self) -> ErrorKind

Implementors§