Type Alias libp2p_kad::BootstrapResult

source ·
pub type BootstrapResult = Result<BootstrapOk, BootstrapError>;
Expand description

The result of Behaviour::bootstrap.

Aliased Type§

enum BootstrapResult {
    Ok(BootstrapOk),
    Err(BootstrapError),
}

Variants§

§1.0.0

Ok(BootstrapOk)

Contains the success value

§1.0.0

Err(BootstrapError)

Contains the error value