arti_client

Trait HasKind

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§

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 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 VanguardMgrError

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 InvokeError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for LookupError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for SendUpdateError

source§

fn kind(&self) -> ErrorKind

§

impl HasKind for Infallible

§

fn kind(&self) -> ErrorKind

source§

impl HasKind for EndReason

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Box<dyn ClientConnectionError>

Available on crate feature rpc only.
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 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 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 HsIdParseError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for IntroRequestError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for IptError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for MemoryReclaimedError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for NetdirProviderShutdown

§

fn kind(&self) -> ErrorKind

§

impl HasKind for ReconfigureError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for RequestError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for RequestFailedError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for SpawnError

Available on crate feature futures only.
§

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

§

impl HasKind for StartupError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for Void

§

fn kind(&self) -> ErrorKind

Implementors§

§

impl HasKind for CfgPathError

§

impl HasKind for ConfigBuildError

source§

impl HasKind for ErrorDetail

source§

impl HasKind for arti_client::err::Error

§

impl HasKind for Bug