pub struct OtherError {
pub throw_site: ThrowSite,
pub message: Option<String>,
pub source: Option<Box<dyn Error + Send + Sync + 'static>>,
}Expand description
Represents any error that is not related to the syntax of the XML file.
Fields§
§throw_site: ThrowSiteThe location in this library’s sourcecode where the error was thrown.
message: Option<String>An optional error message.
source: Option<Box<dyn Error + Send + Sync + 'static>>An optional underlying error that is being wrapped.
Trait Implementations§
Source§impl Debug for OtherError
impl Debug for OtherError
Source§impl Default for OtherError
impl Default for OtherError
Source§fn default() -> OtherError
fn default() -> OtherError
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OtherError
impl !RefUnwindSafe for OtherError
impl Send for OtherError
impl Sync for OtherError
impl Unpin for OtherError
impl !UnwindSafe for OtherError
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