pub struct EntryIndex {
pub index: u64,
pub entries: Option<FileBlockHandle>,
pub compression_type: CompressionType,
pub entry_offset: u32,
pub entry_len: u32,
}
Expand description
Location of a log entry.
Fields§
§index: u64
Logical index.
entries: Option<FileBlockHandle>
File location of the group of entries that this entry belongs to.
compression_type: CompressionType
§entry_offset: u32
The relative offset within its group of entries.
entry_len: u32
The encoded length within its group of entries.
Trait Implementations§
Source§impl Clone for EntryIndex
impl Clone for EntryIndex
Source§fn clone(&self) -> EntryIndex
fn clone(&self) -> EntryIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EntryIndex
impl Debug for EntryIndex
Source§impl Default for EntryIndex
impl Default for EntryIndex
Source§fn default() -> EntryIndex
fn default() -> EntryIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for EntryIndex
impl PartialEq for EntryIndex
impl Copy for EntryIndex
impl Eq for EntryIndex
impl StructuralPartialEq for EntryIndex
Auto Trait Implementations§
impl Freeze for EntryIndex
impl RefUnwindSafe for EntryIndex
impl Send for EntryIndex
impl Sync for EntryIndex
impl Unpin for EntryIndex
impl UnwindSafe for EntryIndex
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more