Enum libp2p::autonat::ResponseError
source · pub enum ResponseError {
DialError,
DialRefused,
BadRequest,
InternalError,
}
Available on crate feature
autonat
only.Variants§
Trait Implementations§
source§impl Clone for ResponseError
impl Clone for ResponseError
source§fn clone(&self) -> ResponseError
fn clone(&self) -> ResponseError
Returns a copy 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 ResponseError
impl Debug for ResponseError
source§impl PartialEq for ResponseError
impl PartialEq for ResponseError
source§fn eq(&self, other: &ResponseError) -> bool
fn eq(&self, other: &ResponseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ResponseStatus> for ResponseError
impl TryFrom<ResponseStatus> for ResponseError
impl Eq for ResponseError
impl StructuralEq for ResponseError
impl StructuralPartialEq for ResponseError
Auto Trait Implementations§
impl RefUnwindSafe for ResponseError
impl Send for ResponseError
impl Sync for ResponseError
impl Unpin for ResponseError
impl UnwindSafe for ResponseError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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.