pub enum GenerateError {
StdIoError(Error),
GenerateIanaConfigError(GenerateIanaConfigError),
SourceError(GetStringSourceError),
XmlParsingError(Error),
UnsupportedRegistryType(RegistryType),
}Variants§
StdIoError(Error)
GenerateIanaConfigError(GenerateIanaConfigError)
SourceError(GetStringSourceError)
XmlParsingError(Error)
UnsupportedRegistryType(RegistryType)
Trait Implementations§
source§impl Debug for GenerateError
impl Debug for GenerateError
source§impl Display for GenerateError
impl Display for GenerateError
source§impl Error for GenerateError
impl Error for GenerateError
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 GenerateError
impl From<Error> for GenerateError
source§impl From<Error> for GenerateError
impl From<Error> for GenerateError
source§impl From<GenerateIanaConfigError> for GenerateError
impl From<GenerateIanaConfigError> for GenerateError
source§fn from(source: GenerateIanaConfigError) -> Self
fn from(source: GenerateIanaConfigError) -> Self
Converts to this type from the input type.
source§impl From<GetStringSourceError> for GenerateError
impl From<GetStringSourceError> for GenerateError
source§fn from(source: GetStringSourceError) -> Self
fn from(source: GetStringSourceError) -> Self
Converts to this type from the input type.