Struct rbdc_mysql::protocol::response::EofPacket
source · pub struct EofPacket {
pub warnings: u16,
pub status: Status,
}
Expand description
Marks the end of a result set, returning status and warnings.
Note
The EOF packet is deprecated as of MySQL 5.7.5. SQLx only uses this packet for MySQL prior MySQL versions.
Fields§
§warnings: u16
§status: Status
Trait Implementations§
source§impl Decode<'_, Capabilities> for EofPacket
impl Decode<'_, Capabilities> for EofPacket
fn decode_with(buf: Bytes, _: Capabilities) -> Result<Self, Error>
Auto Trait Implementations§
impl RefUnwindSafe for EofPacket
impl Send for EofPacket
impl Sync for EofPacket
impl Unpin for EofPacket
impl UnwindSafe for EofPacket
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