arti_client

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

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 Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for StartupError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

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 ConnError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for DescriptorErrorDetail

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for FailedAttemptError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for StartupError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for HsIdParseError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for ClientError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for FatalError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for StartupError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for IptError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for EstablishSessionError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for IntroRequestError

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 Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for StartupError

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 Error

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

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Infallible

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 DescriptorError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for NetdirProviderShutdown

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for MemoryReclaimedError

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Error

source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Box<dyn ClientConnectionError>

Available on crate feature rpc only.
source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for SpawnError

Available on crate feature futures only.
source§

fn kind(&self) -> ErrorKind

source§

impl HasKind for Void

source§

fn kind(&self) -> ErrorKind

Implementors§