Trait mysql_common::misc::raw::seq::SeqRepr[][src]

pub trait SeqRepr {
    type Ctx;

    const MAX_LEN: usize;
    const SIZE: Option<usize>;

    fn serialize<T: MySerialize>(seq: &[T], buf: &mut Vec<u8>);
fn deserialize<'de, T>(
        ctx: Self::Ctx,
        buf: &mut ParseBuf<'de>
    ) -> Result<Cow<'de, [T]>>
    where
        T: Clone,
        T: MyDeserialize<'de, Ctx = ()>
; }
Expand description

Representation of a serialized bytes.

Associated Types

Associated Constants

Maximum number of items in a sequence (depends on how lenght is stored).

Required methods

Implementors