pub struct PrepareError {
pub line: u32,
pub message: String,
}Expand description
A problem found while preparing a stylesheet: an XPath expression that does not compile (unknown function or variable, …), a static error of the stylesheet, or a construct outside the supported subset.
Fields§
§line: u32The 1-based line of the stylesheet element.
message: StringWhat is wrong.
Trait Implementations§
Source§impl Clone for PrepareError
impl Clone for PrepareError
Source§impl Debug for PrepareError
impl Debug for PrepareError
Source§impl Display for PrepareError
impl Display for PrepareError
impl Eq for PrepareError
Source§impl Error for PrepareError
impl Error for PrepareError
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()
Source§impl PartialEq for PrepareError
impl PartialEq for PrepareError
impl StructuralPartialEq for PrepareError
Auto Trait Implementations§
impl Forget for PrepareError
impl Freeze for PrepareError
impl RefUnwindSafe for PrepareError
impl Send for PrepareError
impl Sync for PrepareError
impl Unpin for PrepareError
impl UnsafeUnpin for PrepareError
impl UnwindSafe for PrepareError
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