From 21bc21809609e2e6f205fa9dbfda48618d01f831 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 29 Apr 2019 15:48:14 -0400 Subject: [PATCH] Extra enum variants --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 25e7b11..21f8e1a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,9 @@ pub enum Needed { #[derive(Debug, PartialEq, Eq, Clone)] pub enum KError<'a> { Incomplete(Needed), + Encoding { expected: &'static str }, MissingRoot, + MissingParent, UnexpectedContents { actual: &'a [u8] }, UnknownVariant(u64), }