pub enum HsDescReason {
BadDesc,
QueryRejected,
UploadRejected,
NotFound,
QueryNoHsDir,
QueryRateLimited,
Unexpected,
Other(String),
}Variants§
BadDesc
QueryRejected
UploadRejected
NotFound
QueryNoHsDir
QueryRateLimited
Unexpected
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for HsDescReason
impl Clone for HsDescReason
Source§impl Debug for HsDescReason
impl Debug for HsDescReason
Source§impl Display for HsDescReason
impl Display for HsDescReason
impl Eq for HsDescReason
Source§impl From<&str> for HsDescReason
impl From<&str> for HsDescReason
Source§impl FromStr for HsDescReason
impl FromStr for HsDescReason
Source§impl Hash for HsDescReason
impl Hash for HsDescReason
Source§impl PartialEq for HsDescReason
impl PartialEq for HsDescReason
Source§impl Serialize for HsDescReason
impl Serialize for HsDescReason
impl StructuralPartialEq for HsDescReason
Auto Trait Implementations§
impl Freeze for HsDescReason
impl RefUnwindSafe for HsDescReason
impl Send for HsDescReason
impl Sync for HsDescReason
impl Unpin for HsDescReason
impl UnsafeUnpin for HsDescReason
impl UnwindSafe for HsDescReason
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.