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: StringToCString(NulError)
Tuple Fields
0: NulErrorFromCString(IntoStringError)
Tuple Fields
NullHandle(String)
Tuple Fields
0: StringNDArray(NDArrayError)
Tuple Fields
0: NDArrayErrorCallFailed(String)
Tuple Fields
0: StringInfallible(Infallible)
Tuple Fields
0: InfalliblePanic
DiagnosticError(String)
Tuple Fields
0: StringRaw(String)
Tuple Fields
0: StringImplementations
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
