Searched refs:value1 (Results 1 – 2 of 2) sorted by relevance
| /tonic/tonic/src/metadata/ |
| H A D | value.rs | 905 let value1 = Amv::from_static("abc"); in test_ascii_value_hash() localVariable 907 assert_eq!(value1, value2); in test_ascii_value_hash() 908 assert_eq!(hash(value1), hash(value2)); in test_ascii_value_hash() 910 let value1 = Amv::from_static("abc"); in test_ascii_value_hash() localVariable 913 assert_ne!(value1, value2); in test_ascii_value_hash() 914 assert_ne!(hash(value1), hash(value2)); in test_ascii_value_hash() 928 let value1 = Bmv::from_bytes(b"abc"); in test_valid_binary_value_hash() localVariable 930 assert_eq!(value1, value2); in test_valid_binary_value_hash() 933 let value1 = Bmv::from_bytes(b"abc"); in test_valid_binary_value_hash() localVariable 935 assert_ne!(value1, value2); in test_valid_binary_value_hash() [all …]
|
| /tonic/interop/src/ |
| H A D | client.rs | 345 let value1: MetadataValue<_> = "test_initial_metadata_value".parse().unwrap(); in custom_metadata() localVariable 356 req_unary.metadata_mut().insert(key1, value1.clone()); in custom_metadata() 361 req_stream.metadata_mut().insert(key1, value1.clone()); in custom_metadata() 371 response.metadata().get(key1) == Some(&value1), in custom_metadata() 387 response.metadata().get(key1) == Some(&value1), in custom_metadata()
|