pub enum CircClosureReason {
Show 16 variants
None,
TorProtocol,
Internal,
Requested,
Hibernating,
ResourceLimit,
ConnectFailed,
OrIdentity,
OrConnClosed,
Finished,
Timeout,
Destroyed,
NoPath,
NoSuchService,
MeasurementExpired,
Other(String),
}Variants§
None
TorProtocol
Internal
Requested
Hibernating
ResourceLimit
ConnectFailed
OrIdentity
OrConnClosed
Finished
Timeout
Destroyed
NoPath
NoSuchService
MeasurementExpired
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for CircClosureReason
impl Clone for CircClosureReason
Source§impl Debug for CircClosureReason
impl Debug for CircClosureReason
Source§impl Display for CircClosureReason
impl Display for CircClosureReason
impl Eq for CircClosureReason
Source§impl From<&str> for CircClosureReason
impl From<&str> for CircClosureReason
Source§impl FromStr for CircClosureReason
impl FromStr for CircClosureReason
Source§impl Hash for CircClosureReason
impl Hash for CircClosureReason
Source§impl PartialEq for CircClosureReason
impl PartialEq for CircClosureReason
Source§impl Serialize for CircClosureReason
impl Serialize for CircClosureReason
impl StructuralPartialEq for CircClosureReason
Auto Trait Implementations§
impl Freeze for CircClosureReason
impl RefUnwindSafe for CircClosureReason
impl Send for CircClosureReason
impl Sync for CircClosureReason
impl Unpin for CircClosureReason
impl UnsafeUnpin for CircClosureReason
impl UnwindSafe for CircClosureReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere T: Clone,
impl<T> CloneToUninit for Twhere T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.