mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-11-22 05:48:12 -05:00
Extra enum variants
This commit is contained in:
parent
9c3294ebcb
commit
21bc218096
@ -8,7 +8,9 @@ pub enum Needed {
|
|||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||||
pub enum KError<'a> {
|
pub enum KError<'a> {
|
||||||
Incomplete(Needed),
|
Incomplete(Needed),
|
||||||
|
Encoding { expected: &'static str },
|
||||||
MissingRoot,
|
MissingRoot,
|
||||||
|
MissingParent,
|
||||||
UnexpectedContents { actual: &'a [u8] },
|
UnexpectedContents { actual: &'a [u8] },
|
||||||
UnknownVariant(u64),
|
UnknownVariant(u64),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user