Type Alias libp2p::kad::BootstrapResult

pub type BootstrapResult = Result<BootstrapOk, BootstrapError>;
Available on crate feature kad only.
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