Type Alias libp2p::kad::GetRecordResult

source ·
pub type GetRecordResult = Result<GetRecordOk, GetRecordError>;
Expand description

The result of Behaviour::get_record.

Aliased Type§

enum GetRecordResult {
    Ok(GetRecordOk),
    Err(GetRecordError),
}

Variants§

§1.0.0

Ok(GetRecordOk)

Contains the success value

§1.0.0

Err(GetRecordError)

Contains the error value