Searched refs:try_from_binary_proto (Results 1 – 5 of 5) sorted by relevance
60 pub fn try_from_binary_proto(bytes: &[u8]) -> Result<ProtoStorageFiles> { in try_from_binary_proto() function128 let storage_files = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap(); in test_parse_storage_record_pb()160 let err = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap_err(); in test_parse_invalid_storage_record_pb()178 let err = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap_err(); in test_parse_invalid_storage_record_pb()196 let err = storage_record_pb::try_from_binary_proto(&binary_proto_bytes).unwrap_err(); in test_parse_invalid_storage_record_pb()
272 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_read_only_test_flags()297 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_test_flags()316 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_second_package_flags()
49 aconfig_protos::parsed_flags::try_from_binary_proto(&buffer) in try_parse_flags()609 aconfig_protos::parsed_flags::try_from_binary_proto(&flags_bytes).unwrap(); in test_parse_flags_setting_default()788 aconfig_protos::parsed_flags::try_from_binary_proto(&flags_bytes).unwrap(); in test_parse_flags_no_allow_read_write_success()868 aconfig_protos::parsed_flags::try_from_binary_proto(&flags_bytes).unwrap(); in test_parse_flags_metadata()
342 pub fn try_from_binary_proto(bytes: &[u8]) -> Result<ProtoParsedFlags> { in try_from_binary_proto() function698 parsed_flags::try_from_binary_proto(&binary_proto) in try_from_binary_proto_from_text_proto()
189 aconfig_protos::parsed_flags::try_from_binary_proto(&bytes).unwrap() in parse_all_test_flags()