[−][src]Trait sonnerie::row_format::RowFormat
Decodes a row by its format. Created with parse_row_format
.
Required methods
fn to_stored_format(
&self,
ts: Timestamp,
from: &str,
dest: &mut Vec<u8>
) -> Result<(), String>
&self,
ts: Timestamp,
from: &str,
dest: &mut Vec<u8>
) -> Result<(), String>
Encode the data into dest
into the binary format that is stored.
fn to_protocol_format(&self, from: &[u8], dest: &mut dyn Write) -> Result<()>
Decode the data into something human readable
fn row_size(&self) -> usize
The minimum size in bytes of a row payload, including its timestamp (Exceeded in rows with string data)