Struct qt_core::q_xml_stream_reader::Error
source · 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§
source§impl PartialEq for Error
impl PartialEq for Error
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
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