载入中...
搜索中...
未找到
ArtifactPublication.cpp
浏览该文件的文档.
2
3namespace eve::artifact {
4
7 "artifact provider does not expose snapshot state",
8 "artifact.provider.snapshot"));
9}
10
13 "artifact provider does not support snapshot restore",
14 "artifact.provider.restore"));
15}
16
17} // namespace eve::artifact
Low-level capability contracts for publishing backend-neutral artifacts.
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={}, DiagnosticDetails details={}, std::string source={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.h:125
Move-only operation result carrying either a value or Status.
Definition Result.h:155
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
virtual eve::Result< eve::Value > snapshotState() const
Export backend-neutral observable provider state.
virtual eve::Result< void > restoreState(const eve::Value &state)
Transactionally restore backend-neutral observable provider state.