pub enum NDataError {
KeyNotFound(String),
IndexOutOfBounds {
index: usize,
len: usize,
},
WrongDataType {
index: usize,
expected: &'static str,
found: &'static str,
},
InvalidArrayRef,
}Variants§
Trait Implementations§
Source§impl Debug for NDataError
impl Debug for NDataError
Source§impl Display for NDataError
impl Display for NDataError
Source§impl Error for NDataError
Available on non-crate feature no_std_support only.
impl Error for NDataError
Available on non-crate feature
no_std_support 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()
Auto Trait Implementations§
impl Freeze for NDataError
impl RefUnwindSafe for NDataError
impl Send for NDataError
impl Sync for NDataError
impl Unpin for NDataError
impl UnsafeUnpin for NDataError
impl UnwindSafe for NDataError
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