Trait mysql_common::io::WriteMysqlExt
source · pub trait WriteMysqlExt: WriteBytesExt {
// Provided methods
fn write_lenenc_int(&mut self, x: u64) -> Result<u64> { ... }
fn write_lenenc_str(&mut self, bytes: &[u8]) -> Result<u64> { ... }
}
Provided Methods§
sourcefn write_lenenc_int(&mut self, x: u64) -> Result<u64>
fn write_lenenc_int(&mut self, x: u64) -> Result<u64>
Writes MySql’s length-encoded integer.
sourcefn write_lenenc_str(&mut self, bytes: &[u8]) -> Result<u64>
fn write_lenenc_str(&mut self, bytes: &[u8]) -> Result<u64>
Writes MySql’s length-encoded string.
Object Safety§
This trait is not object safe.