reth_network_p2p::error

Type Alias PeerRequestResult

Source
pub type PeerRequestResult<T> = RequestResult<WithPeerId<T>>;
Expand description

Result with [PeerId][reth_network_peers::PeerId]

Aliased Type§

enum PeerRequestResult<T> {
    Ok(WithPeerId<T>),
    Err(RequestError),
}

Variants§

§1.0.0

Ok(WithPeerId<T>)

Contains the success value

§1.0.0

Err(RequestError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.