#[repr(C)]pub struct StringResultOfQByteArray { /* private fields */ }
Expand description
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
C++ class: QCborStreamReader::StringResult<QByteArray>
.
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
The contents of data are valid only if status is Ok. Otherwise, it should be null.
Implementations§
source§impl StringResultOfQByteArray
impl StringResultOfQByteArray
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<StringResultOfQByteArray>>
) -> Ref<StringResultOfQByteArray>
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<StringResultOfQByteArray>> ) -> Ref<StringResultOfQByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
Calls C++ function: QCborStreamReader::StringResult<QByteArray>& QCborStreamReader::StringResult<QByteArray>::operator=(const QCborStreamReader::StringResult<QByteArray>& other)
.
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
The contents of data are valid only if status is Ok. Otherwise, it should be null.
sourcepub unsafe fn new() -> CppBox<StringResultOfQByteArray>
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<StringResultOfQByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
Calls C++ function: [constructor] void QCborStreamReader::StringResult<QByteArray>::StringResult()
.
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
The contents of data are valid only if status is Ok. Otherwise, it should be null.
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<StringResultOfQByteArray>>
) -> CppBox<StringResultOfQByteArray>
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<StringResultOfQByteArray>> ) -> CppBox<StringResultOfQByteArray>
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
Calls C++ function: [constructor] void QCborStreamReader::StringResult<QByteArray>::StringResult(const QCborStreamReader::StringResult<QByteArray>& other)
.
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
The contents of data are valid only if status is Ok. Otherwise, it should be null.
Trait Implementations§
source§impl CppDeletable for StringResultOfQByteArray
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 StringResultOfQByteArray
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn delete(&self)
unsafe fn delete(&self)
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
Calls C++ function: [destructor] void QCborStreamReader::StringResult<QByteArray>::~StringResult()
.
This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.
The contents of data are valid only if status is Ok. Otherwise, it should be null.