pub enum WalFileType {
ArchivedLogFile,
AliveLogFile,
Unknown,
}Expand description
Where a WAL file lives.
Mirrors rocksdb::WalFileType from include/rocksdb/transaction_log.h.
Values RocksDB adds in future versions decode as WalFileType::Unknown.
Variants§
ArchivedLogFile
Moved out of the main DB directory into the archive because it is no
longer live. Cleaned up according to
set_wal_size_limit_mb and
set_wal_ttl_seconds.
AliveLogFile
Still live, in the main DB directory.
Unknown
A value this build of the crate does not know about.
Implementations§
Trait Implementations§
Source§impl Clone for WalFileType
impl Clone for WalFileType
Source§fn clone(&self) -> WalFileType
fn clone(&self) -> WalFileType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WalFileType
Source§impl Debug for WalFileType
impl Debug for WalFileType
impl Eq for WalFileType
Source§impl From<i32> for WalFileType
impl From<i32> for WalFileType
Source§impl Hash for WalFileType
impl Hash for WalFileType
Source§impl PartialEq for WalFileType
impl PartialEq for WalFileType
impl StructuralPartialEq for WalFileType
Auto Trait Implementations§
impl Freeze for WalFileType
impl RefUnwindSafe for WalFileType
impl Send for WalFileType
impl Sync for WalFileType
impl Unpin for WalFileType
impl UnsafeUnpin for WalFileType
impl UnwindSafe for WalFileType
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