pub enum WonnxError {
CompileError(CompileError),
SessionError(SessionError),
IrError(IrError),
TypeError(DataTypeError),
}
Variants§
Trait Implementations§
Source§impl Debug for WonnxError
impl Debug for WonnxError
Source§impl Display for WonnxError
impl Display for WonnxError
Source§impl Error for WonnxError
impl Error for WonnxError
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 From<CompileError> for WonnxError
impl From<CompileError> for WonnxError
Source§fn from(source: CompileError) -> Self
fn from(source: CompileError) -> Self
Converts to this type from the input type.
Source§impl From<DataTypeError> for WonnxError
impl From<DataTypeError> for WonnxError
Source§fn from(source: DataTypeError) -> Self
fn from(source: DataTypeError) -> Self
Converts to this type from the input type.
Source§impl From<SessionError> for WonnxError
impl From<SessionError> for WonnxError
Source§fn from(source: SessionError) -> Self
fn from(source: SessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WonnxError
impl !RefUnwindSafe for WonnxError
impl Send for WonnxError
impl Sync for WonnxError
impl Unpin for WonnxError
impl !UnwindSafe for WonnxError
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