Trait mysql_common::binlog::BinlogStruct[][src]

pub trait BinlogStruct<'a>: MySerialize + MyDeserialize<'a, Ctx = BinlogCtx<'a>> {
    fn len(&self, version: BinlogVersion) -> usize;
}
Expand description

Binlog event.

Required methods

Returns serialized length of this struct in bytes.

  • implementation must truncate each field to its maximum length.

Implementors