mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
feat(swarm)!: remove unused PendingConnectionError::Io
variant (#3373)
This variant is never constructed.
This commit is contained in:
@ -364,7 +364,6 @@ enum PendingInboundConnectionError {
|
||||
TransportErrorMultiaddrNotSupported,
|
||||
TransportErrorOther,
|
||||
Aborted,
|
||||
Io,
|
||||
ConnectionLimit,
|
||||
}
|
||||
|
||||
@ -386,7 +385,6 @@ impl From<&libp2p_swarm::PendingInboundConnectionError> for PendingInboundConnec
|
||||
libp2p_swarm::PendingInboundConnectionError::Aborted => {
|
||||
PendingInboundConnectionError::Aborted
|
||||
}
|
||||
libp2p_swarm::PendingInboundConnectionError::IO(_) => PendingInboundConnectionError::Io,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user