Enum opengl_registry::RegistryError
source · pub enum RegistryError {
MissingRegistryElement,
MissingCommandsElement,
InvalidCommand(CommandError),
ParsingFailed(ParsingError),
IOFailed(Error),
}
Expand description
Registry
error.
Variants§
MissingRegistryElement
No ‘registry’ element was found.
MissingCommandsElement
No ‘commands’ element was found.
InvalidCommand(CommandError)
A command is invalid.
ParsingFailed(ParsingError)
Parsing failed.
IOFailed(Error)
I/O failed.
Trait Implementations§
source§impl Debug for RegistryError
impl Debug for RegistryError
source§impl Display for RegistryError
impl Display for RegistryError
source§impl Error for RegistryError
impl Error for RegistryError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for RegistryError
impl From<Error> for RegistryError
source§fn from(source: CommandError) -> Self
fn from(source: CommandError) -> Self
Converts to this type from the input type.
source§impl From<Error> for RegistryError
impl From<Error> for RegistryError
source§impl From<ParsingError> for RegistryError
impl From<ParsingError> for RegistryError
source§fn from(source: ParsingError) -> Self
fn from(source: ParsingError) -> Self
Converts to this type from the input type.