载入中...
搜索中...
未找到
Status.h 文件参考

Structured operation status used by the common Result foundation. 更多...

#include "common/Diagnostic.h"
#include "common/Export.h"
#include <cstdint>
#include <ostream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

浏览源代码.

类

class  eve::Status
 Structured status and zero or more diagnostics for an operation. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

枚举

enum class  eve::StatusCode : uint8_t {
  eve::Ok , eve::Applied , eve::NoOp , eve::Pending ,
  eve::Rejected , eve::Conflict , eve::NotFound , eve::Unsupported ,
  eve::Cancelled , eve::Failed
}
 Stable outcome category for an operation. 更多...
 

函数

constexpr std::string_view eve::statusCodeName (StatusCode code) noexcept
 Return the stable protocol spelling of a status code.
 
std::ostream & eve::operator<< (std::ostream &stream, StatusCode code)
 Write the stable StatusCode spelling to a stream.
 

详细描述

Structured operation status used by the common Result foundation.

在文件 Status.h 中定义.