Trait arti_client::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 Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for ProxyError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for ReconfigureError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for RequestError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for GuardMgrConfigError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for GuardMgrError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for PickGuardError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for HsIdParseError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for OnionDirLookupError

Available on crate feature hs-common only.
source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for HsDescError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for PtError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for EndReason

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for RequestFailedError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

§

impl HasKind for ClientError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for ConnError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for DescriptorError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for DescriptorErrorDetail

§

fn kind(&self) -> ErrorKind

§

impl HasKind for Error

§

fn kind(&self) -> ErrorKind

§

impl HasKind for Error

§

fn kind(&self) -> ErrorKind

§

impl HasKind for Error

§

fn kind(&self) -> ErrorKind

§

impl HasKind for Error

§

fn kind(&self) -> ErrorKind

§

impl HasKind for EstablishSessionError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for FailedAttemptError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for FatalError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for IntroRequestError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for IptError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for NetdirProviderShutdown

§

fn kind(&self) -> ErrorKind

source§

impl HasKind for SpawnError

source§

fn kind(&self) -> ErrorKind

§

impl HasKind for StartupError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for StartupError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for StartupError

§

fn kind(&self) -> ErrorKind

Implementors§