#[non_exhaustive]pub struct StylesheetFailure {
pub code: String,
pub line: Option<u32>,
pub message: String,
}Expand description
A dynamic error raised by a stylesheet on a document (the reference engine raises it as well), which stopped the stylesheet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: StringThe XPath or XSLT error code (FORG0001, …).
line: Option<u32>The line of the stylesheet instruction, when known.
message: StringThe explanation.
Trait Implementations§
Source§impl Clone for StylesheetFailure
impl Clone for StylesheetFailure
Source§impl Debug for StylesheetFailure
impl Debug for StylesheetFailure
impl Eq for StylesheetFailure
Source§impl PartialEq for StylesheetFailure
impl PartialEq for StylesheetFailure
impl StructuralPartialEq for StylesheetFailure
Auto Trait Implementations§
impl Forget for StylesheetFailure
impl Freeze for StylesheetFailure
impl RefUnwindSafe for StylesheetFailure
impl Send for StylesheetFailure
impl Sync for StylesheetFailure
impl Unpin for StylesheetFailure
impl UnsafeUnpin for StylesheetFailure
impl UnwindSafe for StylesheetFailure
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