Enum minidom::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), XmlError(Error), Utf8Error(Utf8Error), IoError(Error), EndOfDocument, InvalidElementClosed, InvalidElement, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
XmlError(Error)
An error from quick_xml.
Utf8Error(Utf8Error)
An UTF-8 conversion error.
IoError(Error)
An I/O error, from std::io.
EndOfDocument
An error which is returned when the end of the document was reached prematurely.
InvalidElementClosed
An error which is returned when an element is closed when it shouldn't be
InvalidElement
An error which is returned when an elemet's name contains more than one colon
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.