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§
Implementations on Foreign Types§
source§impl HasKind for OnionDirLookupError
Available on crate feature hs-common
only.
impl HasKind for OnionDirLookupError
Available on crate feature
hs-common
only.source§impl HasKind for Box<dyn ClientConnectionError>
Available on crate feature rpc
only.
impl HasKind for Box<dyn ClientConnectionError>
Available on crate feature
rpc
only.