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 Infallible

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

Source§

fn kind(&self) -> ErrorKind

Source§

impl HasKind for Error

Source§

fn kind(&self) -> ErrorKind

Source§

impl HasKind for Void

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

Source§

fn kind(&self) -> ErrorKind

Source§

impl HasKind for NetdirProviderShutdown

Source§

fn kind(&self) -> ErrorKind

Source§

impl HasKind for Error

Source§

fn kind(&self) -> ErrorKind

Implementors§