pub(crate) 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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Implementors§
impl HasKind for Bug
impl HasKind for ConfigBuildError
impl HasKind for Error
impl HasKind for MemoryReclaimedError
impl HasKind for ReclaimCrashed
impl HasKind for ReclaimedErrorInner
impl HasKind for ReconfigureError
impl HasKind for SpawnError
Available on crate feature
futures only.