pub struct MNNError { /* private fields */ }Expand description
Error type container for MNN
Implementations§
Source§impl MNNError
impl MNNError
Sourcepub fn into_inner(self) -> Report<ErrorKind>
pub fn into_inner(self) -> Report<ErrorKind>
Return the inner error_stack::Report containing the error
Trait Implementations§
Source§impl Error for MNNError
impl Error for MNNError
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 MNNError
impl !RefUnwindSafe for MNNError
impl Send for MNNError
impl Sync for MNNError
impl Unpin for MNNError
impl UnsafeUnpin for MNNError
impl !UnwindSafe for MNNError
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