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§

source

fn write_lenenc_int(&mut self, x: u64) -> Result<u64>

Writes MySql’s length-encoded integer.

source

fn write_lenenc_str(&mut self, bytes: &[u8]) -> Result<u64>

Writes MySql’s length-encoded string.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> WriteMysqlExt for T
where T: WriteBytesExt,