Trait tor_persist::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

Implementors§