Trait mysql_common::binlog::BinlogStruct
source · pub trait BinlogStruct<'a>: MySerialize + MyDeserialize<'a, Ctx = BinlogCtx<'a>> {
// Required method
fn len(&self, version: BinlogVersion) -> usize;
}
Expand description
Binlog event.
Required Methods§
sourcefn len(&self, version: BinlogVersion) -> usize
fn len(&self, version: BinlogVersion) -> usize
Returns serialized length of this struct in bytes.
- implementation must truncate each field to its maximum length.
Object Safety§
This trait is not object safe.