ErrType should be Debug
This commit is contained in:
parent
24d8e32173
commit
6531bec6e5
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user