libp2p::kad

Type Alias GetProvidersResult

pub type GetProvidersResult = Result<GetProvidersOk, GetProvidersError>;
Available on crate feature kad only.
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