pub struct Error(/* private fields */);
Expand description
This enum specifies different error cases
C++ enum: QXmlStreamReader::Error
.
This enum specifies different error cases
Implementations§
Source§impl Error
impl Error
Sourcepub const UnexpectedElementError: Error
pub const UnexpectedElementError: Error
The parser encountered an element that was different to those it expected. (C++ enum variant: UnexpectedElementError = 1
)
Sourcepub const CustomError: Error
pub const CustomError: Error
A custom error has been raised with raiseError() (C++ enum variant: CustomError = 2
)
Sourcepub const NotWellFormedError: Error
pub const NotWellFormedError: Error
The parser internally raised an error due to the read XML not being well-formed. (C++ enum variant: NotWellFormedError = 3
)
Sourcepub const PrematureEndOfDocumentError: Error
pub const PrematureEndOfDocumentError: Error
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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