Trait rdkafka::error::IsError

source ·
pub trait IsError {
    // Required method
    fn is_error(&self) -> bool;
}
Expand description

Verify if the value represents an error condition.

Some librdkafka codes are informational, rather than true errors.

Required Methods§

source

fn is_error(&self) -> bool

Reports whether the value represents an error.

Implementors§