Trait tidb_query_datatype::codec::collation::Charset[][src]

pub trait Charset {
    type Char: Copy + Into<u32>;
    fn validate(bstr: &[u8]) -> Result<()>;
fn decode_one(data: &[u8]) -> Option<(Self::Char, usize)>; }

Associated Types

type Char: Copy + Into<u32>[src]

Loading content...

Required methods

fn validate(bstr: &[u8]) -> Result<()>[src]

fn decode_one(data: &[u8]) -> Option<(Self::Char, usize)>[src]

Loading content...

Implementors

impl Charset for CharsetBinary[src]

type Char = u8

impl Charset for CharsetUtf8mb4[src]

type Char = char

Loading content...