[−][src]Struct qt_core::QCborParserError
The QCborParserError is used by QCborValue to report a parsing error.
C++ class: QCborParserError
.
The QCborParserError is used by QCborValue to report a parsing error.
This class is used by QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.
Methods
impl QCborParserError
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QCborParserError>>
) -> Ref<QCborParserError>
[src]
&self,
other: impl CastInto<Ref<QCborParserError>>
) -> Ref<QCborParserError>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.The QCborParserError is used by QCborValue to report a parsing error.
Calls C++ function: QCborParserError& QCborParserError::operator=(const QCborParserError& other)
.
The QCborParserError is used by QCborValue to report a parsing error.
This class is used by QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.
pub unsafe fn error(&self) -> Ref<QCborError>
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns a reference to the error
field.
pub unsafe fn error_mut(&self) -> Ref<QCborError>
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns a mutable reference to the error
field.
pub unsafe fn error_string(&self) -> CppBox<QString>
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns a string representation of the error code. This string is not translated.
Calls C++ function: QString QCborParserError::errorString() const
.
Returns a string representation of the error code. This string is not translated.
See also QCborError::toString() and QCborValue::fromCbor().
pub unsafe fn new() -> CppBox<QCborParserError>
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.The QCborParserError is used by QCborValue to report a parsing error.
Calls C++ function: [constructor] void QCborParserError::QCborParserError()
.
The QCborParserError is used by QCborValue to report a parsing error.
This class is used by QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QCborParserError>>
) -> CppBox<QCborParserError>
[src]
other: impl CastInto<Ref<QCborParserError>>
) -> CppBox<QCborParserError>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.The QCborParserError is used by QCborValue to report a parsing error.
Calls C++ function: [constructor] void QCborParserError::QCborParserError(const QCborParserError& other)
.
The QCborParserError is used by QCborValue to report a parsing error.
This class is used by QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.
pub unsafe fn offset(&self) -> i64
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns the value of the offset
field.
pub unsafe fn set_error(&self, value: impl CastInto<Ref<QCborError>>)
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Sets the value of the error
field.
pub unsafe fn set_offset(&self, value: i64)
[src]
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Sets the value of the offset
field.
Trait Implementations
impl CppDeletable for QCborParserError
[src]
unsafe fn delete(&self)
[src]
The QCborParserError is used by QCborValue to report a parsing error.
Calls C++ function: [destructor] void QCborParserError::~QCborParserError()
.
The QCborParserError is used by QCborValue to report a parsing error.
This class is used by QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.
Auto Trait Implementations
impl RefUnwindSafe for QCborParserError
impl Send for QCborParserError
impl Sync for QCborParserError
impl Unpin for QCborParserError
impl UnwindSafe for QCborParserError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,