Home
last modified time | relevance | path

Searched defs:SimpleSliceBasedMetadata (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/transport/
Dsimple_slice_based_metadata.h30 struct SimpleSliceBasedMetadata { struct
31 using ValueType = Slice;
32 using MementoType = Slice;
33 static MementoType ParseMemento(Slice value, MetadataParseErrorFn) { in ParseMemento()
36 static ValueType MementoToValue(MementoType value) { return value; } in MementoToValue()
37 static Slice Encode(const ValueType& x) { return x.Ref(); } in Encode()
38 static absl::string_view DisplayValue(const ValueType& value) { in DisplayValue()
41 static absl::string_view DisplayMemento(const MementoType& value) { in DisplayMemento()
/aosp_15_r20/external/grpc-grpc/src/core/lib/transport/
H A Dsimple_slice_based_metadata.h30 struct SimpleSliceBasedMetadata { struct
31 using ValueType = Slice;
32 using MementoType = Slice;
33 static MementoType ParseMemento(Slice value, in ParseMemento()
42 static ValueType MementoToValue(MementoType value) { return value; } in MementoToValue()
43 static Slice Encode(const ValueType& x) { return x.Ref(); } in Encode()
44 static absl::string_view DisplayValue(const ValueType& value) { in DisplayValue()
47 static absl::string_view DisplayMemento(const MementoType& value) { in DisplayMemento()