pub(super) fn get_shred_variant(shred: &[u8]) -> Result<ShredVariant, Error>