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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.