mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore(net): extract NetworkHandle methods for launching node to traits (#9966)
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
//! Possible errors when interacting with the network.
|
||||
|
||||
use crate::session::PendingSessionHandshakeError;
|
||||
use std::{fmt, io, io::ErrorKind, net::SocketAddr};
|
||||
|
||||
use reth_dns_discovery::resolver::ResolveError;
|
||||
use reth_eth_wire::{
|
||||
errors::{EthHandshakeError, EthStreamError, P2PHandshakeError, P2PStreamError},
|
||||
DisconnectReason,
|
||||
};
|
||||
use reth_network_types::BackoffKind;
|
||||
use std::{fmt, io, io::ErrorKind, net::SocketAddr};
|
||||
|
||||
use crate::session::PendingSessionHandshakeError;
|
||||
|
||||
/// Service kind.
|
||||
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user