libp2p::kad

Type Alias PutRecordResult

pub type PutRecordResult = Result<PutRecordOk, PutRecordError>;
Available on crate feature kad only.
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