Type Alias libp2p_kad::GetProvidersResult

source ·
pub type GetProvidersResult = Result<GetProvidersOk, GetProvidersError>;
Expand description

The result of Behaviour::get_providers.

Aliased Type§

enum GetProvidersResult {
    Ok(GetProvidersOk),
    Err(GetProvidersError),
}

Variants§

§1.0.0

Ok(GetProvidersOk)

Contains the success value

§1.0.0

Err(GetProvidersError)

Contains the error value