Type Alias libp2p::kad::GetClosestPeersResult

source ·
pub type GetClosestPeersResult = Result<GetClosestPeersOk, GetClosestPeersError>;
Expand description

Aliased Type§

enum GetClosestPeersResult {
    Ok(GetClosestPeersOk),
    Err(GetClosestPeersError),
}

Variants§

§1.0.0

Ok(GetClosestPeersOk)

Contains the success value

§1.0.0

Err(GetClosestPeersError)

Contains the error value