iconoclast 0.1.0

Reusable code for Rust-based business μServices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use rdkafka::error::KafkaError;
use std::error::Error;
#[derive(thiserror::Error, Debug)]
pub enum StreamError<PE, LE>
where
    PE: Error,
    LE: Error,
{
    #[error(transparent)]
    Kafka(#[from] KafkaError),

    #[error(transparent)]
    Logic(LE),

    #[error(transparent)]
    Parse(PE),
}