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
Tuple Fields of IoError
0: Error
Utf8Error(FromUtf8Error)
Ut8 conversion error
Tuple Fields of Utf8Error
NullError(NulError)
Null string conversion error
Tuple Fields of NullError
0: NulError
Internal(FltkErrorKind)
Internal fltk error
Tuple Fields of Internal
EnvVarError(VarError)
Error using an errorneous env variable
Tuple Fields of EnvVarError
0: VarError
Unknown(String)
Unknown error
Tuple Fields of Unknown
0: String
Trait Implementations
Performs the conversion.