pub enum TorErrorKind {
Show 14 variants
ResourceExhausted,
SyntaxErrorProtocol,
UnrecognizedCmd,
UnimplementedCmd,
SyntaxErrorCmdArg,
UnrecognizedCmdArg,
AuthRequired,
BadAuth,
UnspecifiedTorError,
InternalError,
UnrecognizedEntity,
InvalidConfigValue,
InvalidDescriptor,
UnmanagedEntity,
}Variants§
ResourceExhausted
SyntaxErrorProtocol
UnrecognizedCmd
UnimplementedCmd
SyntaxErrorCmdArg
UnrecognizedCmdArg
AuthRequired
BadAuth
UnspecifiedTorError
InternalError
UnrecognizedEntity
InvalidConfigValue
InvalidDescriptor
UnmanagedEntity
Trait Implementations§
Source§impl Clone for TorErrorKind
impl Clone for TorErrorKind
Source§fn clone(&self) -> TorErrorKind
fn clone(&self) -> TorErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TorErrorKind
impl Debug for TorErrorKind
Source§impl<'de> Deserialize<'de> for TorErrorKind
impl<'de> Deserialize<'de> for TorErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TorErrorKind
impl Hash for TorErrorKind
Source§impl Into<u32> for TorErrorKind
impl Into<u32> for TorErrorKind
Source§impl Ord for TorErrorKind
impl Ord for TorErrorKind
Source§fn cmp(&self, other: &TorErrorKind) -> Ordering
fn cmp(&self, other: &TorErrorKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TorErrorKind
impl PartialEq for TorErrorKind
Source§impl PartialOrd for TorErrorKind
impl PartialOrd for TorErrorKind
Source§impl Serialize for TorErrorKind
impl Serialize for TorErrorKind
Source§impl TryFrom<u16> for TorErrorKind
impl TryFrom<u16> for TorErrorKind
impl Copy for TorErrorKind
impl Eq for TorErrorKind
impl StructuralPartialEq for TorErrorKind
Auto Trait Implementations§
impl Freeze for TorErrorKind
impl RefUnwindSafe for TorErrorKind
impl Send for TorErrorKind
impl Sync for TorErrorKind
impl Unpin for TorErrorKind
impl UnwindSafe for TorErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more