mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 10:01:25 +00:00
Remove ConnectionInfo trait (#1813)
In all cases, we pass the PeerId directly as the connection info. The flexbility of doing something different here was originally envisioned but turned out to be never needed. For reference see: https://github.com/libp2p/rust-libp2p/issues/1798#issuecomment-714526056 Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -61,7 +61,7 @@ pub use identity::PublicKey;
|
||||
pub use transport::Transport;
|
||||
pub use translation::address_translation;
|
||||
pub use upgrade::{InboundUpgrade, OutboundUpgrade, UpgradeInfo, UpgradeError, ProtocolName};
|
||||
pub use connection::{Connected, Endpoint, ConnectedPoint, ConnectionInfo};
|
||||
pub use connection::{Connected, Endpoint, ConnectedPoint};
|
||||
pub use network::Network;
|
||||
|
||||
use std::{future::Future, pin::Pin};
|
||||
|
Reference in New Issue
Block a user