Type Alias rdkafka::admin::TopicResult

source ·
pub type TopicResult = Result<String, (String, RDKafkaErrorCode)>;
Expand description

The result of an individual CreateTopic, DeleteTopic, or CreatePartition operation.

Aliased Type§

enum TopicResult {
    Ok(String),
    Err((String, RDKafkaErrorCode)),
}

Variants§

§1.0.0

Ok(String)

Contains the success value

§1.0.0

Err((String, RDKafkaErrorCode))

Contains the error value