Type Alias libp2p_kad::PutRecordResult

source ·
pub type PutRecordResult = Result<PutRecordOk, PutRecordError>;
Expand description

The result of Behaviour::put_record.

Aliased Type§

enum PutRecordResult {
    Ok(PutRecordOk),
    Err(PutRecordError),
}

Variants§

§1.0.0

Ok(PutRecordOk)

Contains the success value

§1.0.0

Err(PutRecordError)

Contains the error value