pub fn decode_loss(bytes: &[u8]) -> Result<Loss, Error>
Decode one retained loss using the snapshot loss fields.