kafkaesque 0.0.15

Kafka implementations in Rust (Unofficial)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::string::FromUtf8Error;
use thiserror::Error;

pub type Result<T> = std::result::Result<T, FormatError>;

#[derive(Debug, Error)]
pub enum FormatError {
    #[error("UTF8 parsing error: {0}")]
    Utf8Parsing(#[from] FromUtf8Error),
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
}