Struct rocksdb::backup::BackupEngineInfo
source · pub struct BackupEngineInfo {
pub timestamp: i64,
pub backup_id: u32,
pub size: u64,
pub num_files: u32,
}
Expand description
Represents information of a backup including timestamp of the backup and the size (please note that sum of all backups’ sizes is bigger than the actual size of the backup directory because some data is shared by multiple backups). Backups are identified by their always-increasing IDs.
Fields§
§timestamp: i64
Timestamp of the backup
backup_id: u32
ID of the backup
size: u64
Size of the backup
num_files: u32
Number of files related to the backup
Auto Trait Implementations§
impl Freeze for BackupEngineInfo
impl RefUnwindSafe for BackupEngineInfo
impl Send for BackupEngineInfo
impl Sync for BackupEngineInfo
impl Unpin for BackupEngineInfo
impl UnwindSafe for BackupEngineInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more