Skip to main content

FsMistrustErrorExt

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FsMistrustErrorExt for Error

Implementors§