[−][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
[src]
impl Send for LogFile
[src]
impl Sync for LogFile
[src]
impl Unpin for LogFile
[src]
impl UnwindSafe for LogFile
[src]
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,
pub 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.
pub 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>,