pub enum IncludeError {
IoError(Error),
Utf8Error(FromUtf8Error),
XmlWriteError(Error),
XmlReadError(Error),
XmlReferenceError(&'static str),
}
Variants§
IoError(Error)
Utf8Error(FromUtf8Error)
XmlWriteError(Error)
XmlReadError(Error)
XmlReferenceError(&'static str)
Trait Implementations§
Source§impl Debug for IncludeError
impl Debug for IncludeError
Source§impl Display for IncludeError
impl Display for IncludeError
Source§impl Error for IncludeError
impl Error for IncludeError
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()
Source§impl From<Error> for IncludeError
impl From<Error> for IncludeError
Source§impl From<EmitterError> for IncludeError
impl From<EmitterError> for IncludeError
Source§impl From<Error> for IncludeError
impl From<Error> for IncludeError
Source§impl From<FromUtf8Error> for IncludeError
impl From<FromUtf8Error> for IncludeError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IncludeError
impl !RefUnwindSafe for IncludeError
impl Send for IncludeError
impl Sync for IncludeError
impl Unpin for IncludeError
impl !UnwindSafe for IncludeError
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