Struct rocksdb::backup::BackupEngineInfo[][src]

pub struct BackupEngineInfo {
    pub timestamp: i64,
    pub backup_id: u32,
    pub size: u64,
    pub num_files: u32,
}
[]

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 RefUnwindSafe for BackupEngineInfo

impl Send for BackupEngineInfo

impl Sync for BackupEngineInfo

impl Unpin for BackupEngineInfo

impl UnwindSafe for BackupEngineInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.