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§
Ok(AddProviderOk)
Contains the success value
Err(AddProviderError)
Contains the error value