Extra enum variants

This commit is contained in:
Bradlee Speice 2019-04-29 15:48:14 -04:00
parent 9c3294ebcb
commit 21bc218096

View File

@ -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),
} }