Trait tor_error::HasKind

source ·
pub trait HasKind {
    // Required method
    fn kind(&self) -> ErrorKind;
}
Expand description

Errors that can be categorized as belonging to an ErrorKind

The most important implementation of this trait is arti_client::TorError; however, other internal errors throughout Arti also implement it.

Required Methods§

source

fn kind(&self) -> ErrorKind

Return the kind of this error.

Implementations on Foreign Types§

source§

impl HasKind for SpawnError

source§

fn kind(&self) -> ErrorKind

Implementors§