pub enum EncodingTreeError {
OutOfBounds {
index: Idx,
transcript_length: usize,
},
MissingEncoding {
index: Idx,
},
MissingLeaf {
index: Idx,
},
}
Expand description
Encoding tree builder error.
Variants§
OutOfBounds
Index is out of bounds of the transcript.
MissingEncoding
Encoding provider is missing an encoding for an index.
MissingLeaf
Index is missing from the tree.
Trait Implementations§
Source§impl Debug for EncodingTreeError
impl Debug for EncodingTreeError
Source§impl Display for EncodingTreeError
impl Display for EncodingTreeError
Source§impl Error for EncodingTreeError
impl Error for EncodingTreeError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for EncodingTreeError
impl RefUnwindSafe for EncodingTreeError
impl Send for EncodingTreeError
impl Sync for EncodingTreeError
impl Unpin for EncodingTreeError
impl UnwindSafe for EncodingTreeError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more