pub trait TestNode {
// Required methods
fn peer_id(&self) -> PeerId;
fn libp2p_port(&self) -> u16;
// Provided methods
fn rust_dial_opts(&self, host: IpAddr) -> P2pConnectionOutgoingInitOpts { ... }
fn libp2p_dial_opts(&self, host: IpAddr) -> Multiaddr { ... }
}