Type Alias libp2p_kad::AddProviderResult

source ·
pub type AddProviderResult = Result<AddProviderOk, AddProviderError>;
Expand description

The result of publishing a provider record.

Aliased Type§

enum AddProviderResult {
    Ok(AddProviderOk),
    Err(AddProviderError),
}

Variants§

§1.0.0

Ok(AddProviderOk)

Contains the success value

§1.0.0

Err(AddProviderError)

Contains the error value