Enum fltk::prelude::FltkError [−][src]
#[non_exhaustive] pub enum FltkError { IoError(Error), Utf8Error(FromUtf8Error), NullError(NulError), Internal(FltkErrorKind), EnvVarError(VarError), Unknown(String), }
Expand description
Error types returned by fltk-rs + wrappers of std errors
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IoError(Error)
i/o error
Utf8Error(FromUtf8Error)
Ut8 conversion error
NullError(NulError)
Null string conversion error
Internal(FltkErrorKind)
Internal fltk error
EnvVarError(VarError)
Error using an errorneous env variable
Unknown(String)
Unknown error
Trait Implementations
Performs the conversion.