Enum xml_builder::XMLError
source · pub enum XMLError {
InsertError(String),
IOError(String),
}
Expand description
Error type thrown by this crate
Variants§
InsertError(String)
Thrown when the given element cannot be inserted into the XML object tree.
IOError(String)
Thrown when the given Writer
cannot be written to.
Trait Implementations§
source§impl Error for XMLError
impl Error for XMLError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for XMLError
impl RefUnwindSafe for XMLError
impl Send for XMLError
impl Sync for XMLError
impl Unpin for XMLError
impl UnwindSafe for XMLError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more