proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
ReplayCache.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-present, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree.
7
*/
8
9
#include <
fizz/server/ReplayCache.h
>
10
11
using
fizz::server::ReplayCacheResult
;
12
13
namespace
fizz
{
14
15
folly::StringPiece
toString
(
ReplayCacheResult
result) {
16
switch
(result) {
17
case
ReplayCacheResult::NotChecked
:
18
return
"NotChecked"
;
19
case
ReplayCacheResult::NotReplay
:
20
return
"NotReplay"
;
21
case
ReplayCacheResult::MaybeReplay
:
22
return
"MaybeReplay"
;
23
case
ReplayCacheResult::DefinitelyReplay
:
24
return
"DefinitelyReplay"
;
25
}
26
return
"Invalid ReplayCacheResult"
;
27
}
28
}
// namespace fizz
fizz::toString
folly::StringPiece toString(StateEnum state)
Definition:
State.cpp:16
ReplayCache.h
fizz::server::NotReplay
Definition:
ReplayCache.h:19
fizz::server::DefinitelyReplay
Definition:
ReplayCache.h:21
fizz
Definition:
Actions.h:16
folly::Range< const char * >
fizz::server::ReplayCacheResult
ReplayCacheResult
Definition:
ReplayCache.h:17
fizz::server::NotChecked
Definition:
ReplayCache.h:18
fizz::server::MaybeReplay
Definition:
ReplayCache.h:20
proxygen
fizz
fizz
server
ReplayCache.cpp
Generated by
1.8.11