libp2p::kad

Type Alias GetRecordResult

pub type GetRecordResult = Result<GetRecordOk, GetRecordError>;
Available on crate feature kad only.
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