mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 09:31:20 +00:00
feat(swarm): remove unused DialError::ConnectionIo
variant (#3374)
This variant is never constructed.
This commit is contained in:
@ -246,9 +246,6 @@ impl<TBvEv, THandleErr> super::Recorder<libp2p_swarm::SwarmEvent<TBvEv, THandleE
|
||||
libp2p_swarm::DialError::WrongPeerId { .. } => {
|
||||
record(OutgoingConnectionErrorError::WrongPeerId)
|
||||
}
|
||||
libp2p_swarm::DialError::ConnectionIo(_) => {
|
||||
record(OutgoingConnectionErrorError::ConnectionIo)
|
||||
}
|
||||
};
|
||||
}
|
||||
libp2p_swarm::SwarmEvent::BannedPeer { endpoint, .. } => {
|
||||
@ -347,7 +344,6 @@ enum OutgoingConnectionErrorError {
|
||||
Aborted,
|
||||
InvalidPeerId,
|
||||
WrongPeerId,
|
||||
ConnectionIo,
|
||||
TransportMultiaddrNotSupported,
|
||||
TransportOther,
|
||||
}
|
||||
|
Reference in New Issue
Block a user