fedimint_server::net::connect

Type Alias ConnectResult

Source
pub type ConnectResult<M> = Result<(PeerId, AnyFramedTransport<M>), Error>;
Expand description

Result of a connection opening future

Aliased Type§

enum ConnectResult<M> {
    Ok((PeerId, Box<dyn FramedTransport<M, Item = Result<M, Error>, Error = Error> + Unpin + Send>)),
    Err(Error),
}

Variants§

§1.0.0

Ok((PeerId, Box<dyn FramedTransport<M, Item = Result<M, Error>, Error = Error> + Unpin + Send>))

Contains the success value

§1.0.0

Err(Error)

Contains the error value