[][src]Struct qt_core::q_xml_stream_reader::Error

#[repr(transparent)]pub struct Error(_);

This enum specifies different error cases

C++ enum: QXmlStreamReader::Error.

C++ documentation:

This enum specifies different error cases

Methods

impl Error[src]

pub fn to_int(&self) -> c_int[src]

impl Error[src]

pub const NoError: Error[src]

No error has occurred. (C++ enum variant: NoError = 0)

pub const UnexpectedElementError: Error[src]

The parser encountered an element that was different to those it expected. (C++ enum variant: UnexpectedElementError = 1)

pub const CustomError: Error[src]

A custom error has been raised with raiseError() (C++ enum variant: CustomError = 2)

pub const NotWellFormedError: Error[src]

The parser internally raised an error due to the read XML not being well-formed. (C++ enum variant: NotWellFormedError = 3)

pub const PrematureEndOfDocumentError: Error[src]

The input stream ended before a well-formed XML document was parsed. Recovery from this error is possible if more XML arrives in the stream, either by calling addData() or by waiting for it to arrive on the device(). (C++ enum variant: PrematureEndOfDocumentError = 4)

Trait Implementations

impl Clone for Error[src]

impl Copy for Error[src]

impl Debug for Error[src]

impl Eq for Error[src]

impl From<Error> for c_int[src]

impl From<i32> for Error[src]

impl PartialEq<Error> for Error[src]

impl StructuralEq for Error[src]

impl StructuralPartialEq for Error[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.