#include "tensorstore/kvstore/read_result.h"
enum class tensorstore::kvstore::ReadResult::State;

Specifies the interpretation of value.

enumerator kUnspecified;

Indicates an unspecified value, used when a conditional read was requested and the condition was not satisfied. The value member must be empty.

enumerator kMissing;

Indicates a missing value (not an error). The value member must be empty.

enumerator kValue;

Indicates a value is present.

Data members

constexpr const State kUnspecified = State::kUnspecified;
constexpr const State kMissing = State::kMissing;
constexpr const State kValue = State::kValue;

Friend functions

friend std::ostreamoperator<<(std::ostreamosState state);

Prints a debugging string representation to an std::ostream.