ErrType should be Debug

This commit is contained in:
jan 2024-12-17 18:39:02 -08:00
parent 24d8e32173
commit 6531bec6e5

View File

@ -8,6 +8,7 @@ pub type OResult = Result<usize, io::Error>;
pub type IResult<'a, O> = Result<(&'a [u8], O), (&'a [u8], ErrType)>;
#[derive(Debug)]
pub enum ErrType {
Incomplete(Option<usize>),
Failed(String),