blackbox_log/parser/mod.rs
1pub(crate) mod decode;
2
3pub(crate) use self::decode::Encoding;
4
5pub(crate) type InternalResult<T> = Result<T, InternalError>;
6
7/// A recoverable error.
8#[derive(Debug, Clone)]
9pub(crate) enum InternalError {
10 /// Found something unexpected, retry at the next byte.
11 Retry,
12 /// Found the end of file.
13 Eof,
14}