ErrType should be Debug
This commit is contained in:
parent
24d8e32173
commit
6531bec6e5
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue