pub type P2PConnectionResult<M> = Result<(PeerId, DynP2PConnection<M>)>;
Aliased Type§
enum P2PConnectionResult<M> {
Ok((PeerId, Box<dyn IP2PConnection<M>>)),
Err(Error),
}
pub type P2PConnectionResult<M> = Result<(PeerId, DynP2PConnection<M>)>;
enum P2PConnectionResult<M> {
Ok((PeerId, Box<dyn IP2PConnection<M>>)),
Err(Error),
}