PeerRequestResult

Type Alias PeerRequestResult 

pub type PeerRequestResult<T> = Result<WithPeerId<T>, RequestError>;
Expand description

Result with [PeerId][reth_network_peers::PeerId]

Aliased Type§

pub 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.