Struct qt_core::q_data_stream::Status
source · pub struct Status(/* private fields */);
Expand description
This enum describes the current status of the data stream.
C++ enum: QDataStream::Status
.
This enum describes the current status of the data stream.
Implementations§
source§impl Status
impl Status
sourcepub const ReadPastEnd: Status = _
pub const ReadPastEnd: Status = _
The data stream has read past the end of the data in the underlying device. (C++ enum variant: ReadPastEnd = 1
)
sourcepub const ReadCorruptData: Status = _
pub const ReadCorruptData: Status = _
The data stream has read corrupt data. (C++ enum variant: ReadCorruptData = 2
)
sourcepub const WriteFailed: Status = _
pub const WriteFailed: Status = _
The data stream cannot write to the underlying device. (C++ enum variant: WriteFailed = 3
)
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl Copy for Status
impl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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