#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum RowBinaryFormat {
RowBinary,
RowBinaryWithNames,
RowBinaryWithNamesAndTypes,
}
impl std::fmt::Display for RowBinaryFormat {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
RowBinaryFormat::RowBinary => f.write_str("RowBinary"),
RowBinaryFormat::RowBinaryWithNames => f.write_str("RowBinaryWithNames"),
RowBinaryFormat::RowBinaryWithNamesAndTypes => {
f.write_str("RowBinaryWithNamesAndTypes")
}
}
}
}