pub enum RnsPathTableDecodeError {
InvalidMessagePack,
ExpectedArray,
ExpectedEntryMap {
index: usize,
},
InvalidMapKey {
index: usize,
},
MissingField {
index: usize,
field: RnsPathTableField,
},
DuplicateField {
index: usize,
field: RnsPathTableField,
},
InvalidFieldType {
index: usize,
field: RnsPathTableField,
},
InvalidHashLength {
index: usize,
field: RnsPathTableField,
actual: usize,
},
AllocationFailed {
entries: usize,
},
TrailingData,
}Variants§
InvalidMessagePack
ExpectedArray
ExpectedEntryMap
InvalidMapKey
MissingField
DuplicateField
InvalidFieldType
InvalidHashLength
AllocationFailed
TrailingData
Trait Implementations§
Source§impl Clone for RnsPathTableDecodeError
impl Clone for RnsPathTableDecodeError
Source§fn clone(&self) -> RnsPathTableDecodeError
fn clone(&self) -> RnsPathTableDecodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RnsPathTableDecodeError
impl Debug for RnsPathTableDecodeError
Source§impl Display for RnsPathTableDecodeError
impl Display for RnsPathTableDecodeError
impl Eq for RnsPathTableDecodeError
Source§impl Error for RnsPathTableDecodeError
Available on crate feature std only.
impl Error for RnsPathTableDecodeError
Available on crate feature
std only.1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RnsPathTableDecodeError
impl PartialEq for RnsPathTableDecodeError
impl StructuralPartialEq for RnsPathTableDecodeError
Auto Trait Implementations§
impl Freeze for RnsPathTableDecodeError
impl RefUnwindSafe for RnsPathTableDecodeError
impl Send for RnsPathTableDecodeError
impl Sync for RnsPathTableDecodeError
impl Unpin for RnsPathTableDecodeError
impl UnsafeUnpin for RnsPathTableDecodeError
impl UnwindSafe for RnsPathTableDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more