mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
*: Fix clippy::derive-partial-eq-without-eq
(#2818)
This commit is contained in:
@ -147,7 +147,7 @@ pub enum RequestResponseEvent<TRequest, TResponse, TChannelResponse = TResponse>
|
||||
|
||||
/// Possible failures occurring in the context of sending
|
||||
/// an outbound request and receiving the response.
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum OutboundFailure {
|
||||
/// The request could not be sent because a dialing attempt failed.
|
||||
DialFailure,
|
||||
@ -184,7 +184,7 @@ impl std::error::Error for OutboundFailure {}
|
||||
|
||||
/// Possible failures occurring in the context of receiving an
|
||||
/// inbound request and sending a response.
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum InboundFailure {
|
||||
/// The inbound request timed out, either while reading the
|
||||
/// incoming request or before a response is sent, e.g. if
|
||||
|
Reference in New Issue
Block a user