Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rm unhinged attributes ordering #12498

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions crates/net/p2p/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,24 @@ impl<H: BlockHeader> EthResponseValidator for RequestResult<Vec<H>> {
#[derive(Clone, Debug, Eq, PartialEq, Display, Error)]
pub enum RequestError {
/// Closed channel to the peer.
#[display("closed channel to the peer")]
/// Indicates the channel to the peer is closed.
#[display("closed channel to the peer")]
ChannelClosed,
/// Connection to a peer dropped while handling the request.
#[display("connection to a peer dropped while handling the request")]
/// Represents a dropped connection while handling the request.
#[display("connection to a peer dropped while handling the request")]
ConnectionDropped,
/// Capability message is not supported by the remote peer.
#[display("capability message is not supported by remote peer")]
/// Indicates an unsupported capability message from the remote peer.
#[display("capability message is not supported by remote peer")]
UnsupportedCapability,
/// Request timed out while awaiting response.
#[display("request timed out while awaiting response")]
/// Represents a timeout while waiting for a response.
#[display("request timed out while awaiting response")]
Timeout,
/// Received bad response.
#[display("received bad response")]
/// Indicates a bad response was received.
#[display("received bad response")]
BadResponse,
}

Expand Down
Loading