Settings
Help

HasKind

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

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 EndReason

§

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

§

fn kind(&self) -> ErrorKind

§

impl HasKind for GuardMgrError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for HsDescError

§

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 OnionDirLookupError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for PickGuardError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for ProtocolSupportError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for ProxyError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for PtError

§

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

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

§

impl HasKind for StartupError

§

fn kind(&self) -> ErrorKind

§

impl HasKind for VanguardMgrError

§

fn kind(&self) -> ErrorKind

Source§

impl HasKind for Void

Source§

fn kind(&self) -> ErrorKind

Implementors§