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§
Ok(String)
Contains the success value
Err((String, RDKafkaErrorCode))
Contains the error value