Function decode_guard
pub fn decode_guard(stored: &[u8]) -> Result<AppendCondition, GuardCodecError>Expand description
The guard stored holds, as encode_guard wrote it.
ยงErrors
GuardCodecError::Empty for no bytes at all,
GuardCodecError::UnknownFormat for a format byte this build does not
read, GuardCodecError::Decode for a body that is not a valid
condition, and GuardCodecError::TrailingBytes for a valid one with
bytes after it.