Searched defs:StringTrait (Results 1 – 1 of 1) sorted by relevance
109 struct StringTrait { struct110 using MementoType = std::string;111 static absl::string_view key() { return "key5-bin"; } in key()112 static std::string test_memento() { return "hello"; } in test_memento()113 static std::string test_value() { return "hi hello"; } in test_value()114 static size_t test_memento_transport_size() { return 599; } in test_memento_transport_size()115 static std::string MementoToValue(std::string memento) { in MementoToValue()118 static std::string ParseMemento(Slice slice, bool, MetadataParseErrorFn) { in ParseMemento()122 static std::string DisplayValue(const std::string& value) { return value; } in DisplayValue()123 static std::string DisplayMemento(MementoType memento) { in DisplayMemento()[all …]