pub enum OrClosureReason {
Done,
ConnectRefused,
Identity,
ConnectReset,
Timeout,
NoRoute,
IoError,
ResourceLimit,
Misc,
PtMissing,
Other(String),
}Variants§
Done
ConnectRefused
Identity
ConnectReset
Timeout
NoRoute
IoError
ResourceLimit
Misc
PtMissing
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for OrClosureReason
impl Clone for OrClosureReason
Source§impl Debug for OrClosureReason
impl Debug for OrClosureReason
Source§impl Display for OrClosureReason
impl Display for OrClosureReason
impl Eq for OrClosureReason
Source§impl From<&str> for OrClosureReason
impl From<&str> for OrClosureReason
Source§impl FromStr for OrClosureReason
impl FromStr for OrClosureReason
Source§impl Hash for OrClosureReason
impl Hash for OrClosureReason
Source§impl PartialEq for OrClosureReason
impl PartialEq for OrClosureReason
Source§impl Serialize for OrClosureReason
impl Serialize for OrClosureReason
impl StructuralPartialEq for OrClosureReason
Auto Trait Implementations§
impl Freeze for OrClosureReason
impl RefUnwindSafe for OrClosureReason
impl Send for OrClosureReason
impl Sync for OrClosureReason
impl Unpin for OrClosureReason
impl UnsafeUnpin for OrClosureReason
impl UnwindSafe for OrClosureReason
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.