pub struct LogPosition {
pub slab_index: usize,
pub offset: usize,
}Expand description
Absolute position inside a unified log (slab index + byte offset).
Fields§
§slab_index: usize§offset: usizeTrait Implementations§
Source§impl Clone for LogPosition
impl Clone for LogPosition
Source§fn clone(&self) -> LogPosition
fn clone(&self) -> LogPosition
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 LogPosition
impl Debug for LogPosition
Source§impl PartialEq for LogPosition
impl PartialEq for LogPosition
impl Copy for LogPosition
impl Eq for LogPosition
impl StructuralPartialEq for LogPosition
Auto Trait Implementations§
impl Freeze for LogPosition
impl RefUnwindSafe for LogPosition
impl Send for LogPosition
impl Sync for LogPosition
impl Unpin for LogPosition
impl UnsafeUnpin for LogPosition
impl UnwindSafe for LogPosition
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