Struct qt_core::QCborError
source · #[repr(C)]pub struct QCborError { /* private fields */ }
Expand description
C++ class: QCborError
.
Implementations§
source§impl QCborError
impl QCborError
sourcepub unsafe fn c(&self) -> Code
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn c(&self) -> Code
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 c
field.
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QCborError>>
) -> Ref<QCborError>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QCborError>> ) -> Ref<QCborError>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborError& QCborError::operator=(const QCborError& other)
.
sourcepub unsafe fn new() -> CppBox<QCborError>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn new() -> CppBox<QCborError>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCborError::QCborError()
.
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QCborError>>
) -> CppBox<QCborError>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn new_copy( other: impl CastInto<Ref<QCborError>> ) -> CppBox<QCborError>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCborError::QCborError(const QCborError& other)
.
sourcepub unsafe fn set_c(&self, value: Code)
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn set_c(&self, value: Code)
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 c
field.
sourcepub unsafe fn static_meta_object() -> Ref<QMetaObject>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
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 staticMetaObject
field.
sourcepub unsafe fn to_code(&self) -> Code
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_code(&self) -> Code
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: QCborError::Code QCborError::operator QCborError::Code() const
.
sourcepub unsafe fn to_string(&self) -> CppBox<QString>
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
pub unsafe fn to_string(&self) -> CppBox<QString>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns a text string that matches the error code in this QCborError object.
Calls C++ function: QString QCborError::toString() const
.
Returns a text string that matches the error code in this QCborError object.
Note: the string is not translated. Applications whose interface allow users to parse CBOR streams need to provide their own, translated strings.
See also QCborError::Code.
Trait Implementations§
source§impl CppDeletable for QCborError
Available on cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl CppDeletable for QCborError
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.