Skip to main content

WriteMysqlExt

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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