Enum miden_core::errors::AdviceSetError
source · [−]pub enum AdviceSetError {
DepthTooSmall,
DepthTooBig(u32),
NumLeavesNotPowerOfTwo(usize),
InvalidKey(u64),
InvalidIndex(u32, u64),
InvalidDepth(u32, u32),
InvalidPath(Vec<Word>),
NodeNotInSet(u64),
}Variants
DepthTooSmall
DepthTooBig(u32)
NumLeavesNotPowerOfTwo(usize)
InvalidKey(u64)
InvalidIndex(u32, u64)
InvalidDepth(u32, u32)
InvalidPath(Vec<Word>)
NodeNotInSet(u64)
Trait Implementations
sourceimpl Clone for AdviceSetError
impl Clone for AdviceSetError
sourcefn clone(&self) -> AdviceSetError
fn clone(&self) -> AdviceSetError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for AdviceSetError
impl Send for AdviceSetError
impl Sync for AdviceSetError
impl Unpin for AdviceSetError
impl UnwindSafe for AdviceSetError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more