mysql_common::io

Trait ReadMysqlExt

Source
pub trait ReadMysqlExt: ReadBytesExt {
    // Provided methods
    fn read_lenenc_int(&mut self) -> Result<u64> { ... }
    fn read_lenenc_str(&mut self) -> Result<Vec<u8>> { ... }
}

Provided Methods§

Source

fn read_lenenc_int(&mut self) -> Result<u64>

Reads MySql’s length-encoded integer.

Source

fn read_lenenc_str(&mut self) -> Result<Vec<u8>>

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

Implementors§

Source§

impl<T> ReadMysqlExt for T
where T: ReadBytesExt,