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 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 ==
.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§
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