Enum tvm::errors::Error [−][src]
pub enum Error {
Downcast(ValueDowncastError),
Null,
ModuleLoadPath(String),
ToCString(NulError),
FromCString(IntoStringError),
NullHandle(String),
NDArray(NDArrayError),
CallFailed(String),
Infallible(Infallible),
Panic,
DiagnosticError(String),
Raw(String),
}
Variants
Downcast(ValueDowncastError)
Tuple Fields
Null
ModuleLoadPath(String)
Tuple Fields
0: String
ToCString(NulError)
Tuple Fields
0: NulError
FromCString(IntoStringError)
Tuple Fields
NullHandle(String)
Tuple Fields
0: String
NDArray(NDArrayError)
Tuple Fields
0: NDArrayError
CallFailed(String)
Tuple Fields
0: String
Infallible(Infallible)
Tuple Fields
0: Infallible
Panic
DiagnosticError(String)
Tuple Fields
0: String
Raw(String)
Tuple Fields
0: String
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more