Skip to main content

BrokerResult

Type Alias BrokerResult 

Source
pub type BrokerResult<T> = Result<T, KafkaError>;
Expand description

The result of one broker: its value, or the Kafka error of the broker.

Aliased Type§

pub enum BrokerResult<T> {
    Ok(T),
    Err(KafkaError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(KafkaError)

Contains the error value