eml-codec/src/error.rs

8 lines
173 B
Rust
Raw Normal View History

2023-06-19 16:18:15 +00:00
use nom;
#[derive(Debug, PartialEq)]
pub enum IMFError<'a> {
Segment(nom::Err<nom::error::Error<&'a [u8]>>),
2023-06-19 17:03:33 +00:00
ExtractFields(nom::Err<nom::error::Error<&'a str>>),
2023-06-19 16:18:15 +00:00
}