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.
ParseInt(ParseIntError)
Tried to parse integer frome the obj
file, but failed.
ParseFloat(ParseFloatError)
Tried to parse floating point number frome the obj
file, but failed.
Load(LoadError)
LoadError
has been occurred during parseing the obj
file.
Trait 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.
Auto Trait Implementations
impl !RefUnwindSafe for ObjError
impl !UnwindSafe for ObjError