pub fn write_serial_consistency(c: SerialConsistency, buf: &mut impl BufMut)