pub struct RowAddress(/* private fields */);
Implementations§
Source§impl RowAddress
impl RowAddress
pub const FRAGMENT_SIZE: u64 = 4_294_967_296u64
pub const TOMBSTONE_FRAG: u32 = 4_294_967_295u32
pub const TOMBSTONE_ROW: u64 = 18_446_744_073_709_551_615u64
pub fn new_from_u64(row_addr: u64) -> Self
pub fn new_from_parts(fragment_id: u32, row_offset: u32) -> Self
pub fn first_row(fragment_id: u32) -> Self
pub fn address_range(fragment_id: u32) -> Range<u64>
pub fn fragment_id(&self) -> u32
pub fn row_offset(&self) -> u32
Trait Implementations§
Source§impl Clone for RowAddress
impl Clone for RowAddress
Source§fn clone(&self) -> RowAddress
fn clone(&self) -> RowAddress
Returns a copy 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 RowAddress
impl Debug for RowAddress
Source§impl Display for RowAddress
impl Display for RowAddress
Source§impl From<RowAddress> for u64
impl From<RowAddress> for u64
Source§fn from(row_id: RowAddress) -> Self
fn from(row_id: RowAddress) -> Self
Converts to this type from the input type.
Source§impl From<u64> for RowAddress
impl From<u64> for RowAddress
Source§impl Hash for RowAddress
impl Hash for RowAddress
Source§impl Ord for RowAddress
impl Ord for RowAddress
Source§fn cmp(&self, other: &RowAddress) -> Ordering
fn cmp(&self, other: &RowAddress) -> Ordering
1.21.0 · 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
Source§impl PartialEq for RowAddress
impl PartialEq for RowAddress
Source§impl PartialOrd for RowAddress
impl PartialOrd for RowAddress
impl Copy for RowAddress
impl Eq for RowAddress
impl StructuralPartialEq for RowAddress
Auto Trait Implementations§
impl Freeze for RowAddress
impl RefUnwindSafe for RowAddress
impl Send for RowAddress
impl Sync for RowAddress
impl Unpin for RowAddress
impl UnwindSafe for RowAddress
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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