Type Alias libp2p::kad::AddProviderResult

source ·
pub type AddProviderResult = Result<AddProviderOk, AddProviderError>;
Available on crate feature kad only.
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