[][src]Enum rocks::transaction_log::WalFileType

#[repr(C)]pub enum WalFileType {
    Archived,
    Alive,
}

Is WAL file archived or alive

Variants

Archived

Indicates that WAL file is in archive directory. WAL files are moved from the main db directory to archive directory once they are not live and stay there until cleaned up. Files are cleaned depending on archive size Options::WAL_size_limit_MB and time since last cleaning Options::WAL_ttl_seconds.

Alive

Indicates that WAL file is live and resides in the main db directory

Trait Implementations

impl Clone for WalFileType[src]

impl Copy for WalFileType[src]

impl Debug for WalFileType[src]

impl Eq for WalFileType[src]

impl Hash for WalFileType[src]

impl PartialEq<WalFileType> for WalFileType[src]

impl StructuralEq for WalFileType[src]

impl StructuralPartialEq for WalFileType[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.