gpg::SnapshotManager::CommitResponse

#include <snapshot_manager.h>

保留更新后的快照的数据以及响应状态。

摘要

公共属性

data
一个 SnapshotMetadata 对象。
status
可以是 ResponseStatus 中枚举的其中一个值。

公共属性

数据

SnapshotMetadata gpg::SnapshotManager::CommitResponse::data

一个 SnapshotMetadata 对象。

状态

ResponseStatus gpg::SnapshotManager::CommitResponse::status

可以是 ResponseStatus 中枚举的其中一个值。

如果响应失败,则 CommitResponse 的数据为空。