Searched defs:SimpleSliceBasedMetadata (Results 1 – 1 of 1) sorted by relevance
29 struct SimpleSliceBasedMetadata { struct30 using ValueType = Slice;31 using MementoType = Slice;32 static MementoType ParseMemento(Slice value, in ParseMemento()41 static ValueType MementoToValue(MementoType value) { return value; } in MementoToValue()42 static Slice Encode(const ValueType& x) { return x.Ref(); } in Encode()43 static absl::string_view DisplayValue(const ValueType& value) { in DisplayValue()46 static absl::string_view DisplayMemento(const MementoType& value) { in DisplayMemento()