pub struct Frame {
pub stmt_id: i32,
pub cmd: i16,
pub length: u32,
pub retcode: i32,
pub opts: Vec<u8>,
pub body: Vec<u8>,
}Expand description
一帧解析结果。
Fields§
§stmt_id: i32§cmd: i16§length: u32§retcode: i32§opts: Vec<u8>参数区 20-63
body: Vec<u8>数据区 64+
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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