pub fn parse_barrier_marker(
record: &Record,
) -> Result<BarrierMarker, ProtocolError>Expand description
Read the contents of a barrier marker back out of its record.
ยงErrors
Returns [ProtocolError] when the record carries no key or no value,
when the key is not a barrier control-record key, when either the key
version or the value version is unsupported, or when the value is
truncated, holds a non-UTF-8 group name, or has trailing bytes.