fedimint_server::net::p2p_connector

Type Alias P2PConnectionResult

Source
pub type P2PConnectionResult<M> = Result<(PeerId, DynP2PConnection<M>)>;

Aliased Type§

enum P2PConnectionResult<M> {
    Ok((PeerId, Box<dyn IP2PConnection<M>>)),
    Err(Error),
}

Variants§

§1.0.0

Ok((PeerId, Box<dyn IP2PConnection<M>>))

Contains the success value

§1.0.0

Err(Error)

Contains the error value