Enum libp2p_autonat::ResponseError
source · pub enum ResponseError {
DialError,
DialRefused,
BadRequest,
InternalError,
}
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 From<ResponseError> for i32
impl From<ResponseError> for i32
source§fn from(t: ResponseError) -> Self
fn from(t: ResponseError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ResponseError> for ResponseError
impl PartialEq<ResponseError> 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 ==
.