Enum obj::ObjError [−][src]
pub enum ObjError {
Io(Error),
ParseInt(ParseIntError),
ParseFloat(ParseFloatError),
Load(LoadError),
}Expand description
The error type for loading of the obj file.
Variants
Io(Error)IO error has been occurred during opening the obj file.
Tuple Fields of Io
0: ErrorParseInt(ParseIntError)Tried to parse integer frome the obj file, but failed.
Tuple Fields of ParseInt
ParseFloat(ParseFloatError)Tried to parse floating point number frome the obj file, but failed.
Tuple Fields of ParseFloat
Load(LoadError)LoadError has been occurred during parseing the obj file.
Tuple Fields of Load
0: LoadErrorTrait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Performs the conversion.
Performs the conversion.