Searched defs:CharTrait (Results 1 – 1 of 1) sorted by relevance
33 struct CharTrait { struct34 using MementoType = char;35 static absl::string_view key() { return "key"; } in key()36 static char test_memento() { return 'a'; } in test_memento()37 static char test_value() { return 'a'; } in test_value()38 static size_t test_memento_transport_size() { return 34; } in test_memento_transport_size()39 static char MementoToValue(char memento) { return memento; } in MementoToValue()40 static char ParseMemento(Slice slice, bool, MetadataParseErrorFn) { in ParseMemento()43 static std::string DisplayValue(char value) { return std::string(1, value); } in DisplayValue()44 static std::string DisplayMemento(MementoType memento) { in DisplayMemento()[all …]