pub enum RelayEndReason {
Show 15 variants
Misc,
ResolveFailed,
ConnectRefused,
ExitPolicy,
Destroy,
Done,
Timeout,
NoRoute,
Hibernating,
Internal,
ResourceLimit,
ConnReset,
TorProtocol,
NotDirectory,
Other(String),
}Variants§
Misc
ResolveFailed
ConnectRefused
ExitPolicy
Destroy
Done
Timeout
NoRoute
Hibernating
Internal
ResourceLimit
ConnReset
TorProtocol
NotDirectory
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for RelayEndReason
impl Clone for RelayEndReason
Source§impl Debug for RelayEndReason
impl Debug for RelayEndReason
Source§impl Display for RelayEndReason
impl Display for RelayEndReason
impl Eq for RelayEndReason
Source§impl From<&str> for RelayEndReason
impl From<&str> for RelayEndReason
Source§impl FromStr for RelayEndReason
impl FromStr for RelayEndReason
Source§impl Hash for RelayEndReason
impl Hash for RelayEndReason
Source§impl PartialEq for RelayEndReason
impl PartialEq for RelayEndReason
Source§impl Serialize for RelayEndReason
impl Serialize for RelayEndReason
impl StructuralPartialEq for RelayEndReason
Auto Trait Implementations§
impl Freeze for RelayEndReason
impl RefUnwindSafe for RelayEndReason
impl Send for RelayEndReason
impl Sync for RelayEndReason
impl Unpin for RelayEndReason
impl UnsafeUnpin for RelayEndReason
impl UnwindSafe for RelayEndReason
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.