fix(net): export PeerInfo struct (#973)

This commit is contained in:
mempirate
2023-01-23 11:16:15 +01:00
committed by GitHub
parent 1e84189fec
commit c326186397
2 changed files with 2 additions and 0 deletions

View File

@ -143,5 +143,6 @@ pub use manager::{NetworkEvent, NetworkManager};
pub use message::PeerRequest;
pub use network::NetworkHandle;
pub use peers::PeersConfig;
pub use session::PeerInfo;
pub use reth_eth_wire::DisconnectReason;

View File

@ -64,6 +64,7 @@ impl ActiveSessionHandle {
}
}
/// Info about an active peer session.
#[derive(Debug)]
#[allow(unused)]
pub struct PeerInfo {