[−][src]Struct rocks::transaction_log::LogFile
Represents a single WAL file
Fields
path_name: String
Returns log file's pathname relative to the main db dir Eg. For a live-log-file = /000003.log For an archived-log-file = /archive/000003.log
log_number: u64
Primary identifier for log file. This is directly proportional to creation time of the log file
file_type: WalFileType
Log file can be either alive or archived
start_sequence: SequenceNumber
Starting sequence number of writebatch written in this log file
size_in_bytes: u64
Size of log file on disk in Bytes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LogFile
impl Send for LogFile
impl Sync for LogFile
impl Unpin for LogFile
impl UnwindSafe for LogFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,