pub struct LogPosition(pub u64);Expand description
A byte offset relative to the beginning of the log.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for LogPosition
impl Clone for LogPosition
impl Copy for LogPosition
Source§impl Debug for LogPosition
impl Debug for LogPosition
Source§impl Default for LogPosition
impl Default for LogPosition
impl Eq for LogPosition
Source§impl Ord for LogPosition
impl Ord for LogPosition
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LogPosition
impl PartialEq for LogPosition
Source§impl PartialOrd for LogPosition
impl PartialOrd for LogPosition
impl StructuralPartialEq for LogPosition
Auto Trait Implementations§
impl Forget for LogPosition
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