pub struct NpError { /* private fields */ }Expand description
Error type returned by the Rust core APIs.
The core crate is still pre-1.0, so error messages are intended to be readable diagnostics rather than a stable machine-readable taxonomy.
Implementations§
Trait Implementations§
impl Eq for NpError
Source§impl Error for NpError
impl Error for NpError
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()
impl StructuralPartialEq for NpError
Auto Trait Implementations§
impl Freeze for NpError
impl RefUnwindSafe for NpError
impl Send for NpError
impl Sync for NpError
impl Unpin for NpError
impl UnsafeUnpin for NpError
impl UnwindSafe for NpError
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