pub struct ShardSegmentRoot {
pub shard_index: ShardIndex,
pub segment_index: LocalSegmentIndex,
pub segment_root: SegmentRoot,
}Expand description
Intermediate or leaf shard segment root information
Fields§
§shard_index: ShardIndexShard index
segment_index: LocalSegmentIndexLocal segment index
segment_root: SegmentRootSegment root
Trait Implementations§
Source§impl Clone for ShardSegmentRoot
impl Clone for ShardSegmentRoot
Source§fn clone(&self) -> ShardSegmentRoot
fn clone(&self) -> ShardSegmentRoot
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 ShardSegmentRoot
impl Debug for ShardSegmentRoot
Source§impl PartialEq for ShardSegmentRoot
impl PartialEq for ShardSegmentRoot
impl Copy for ShardSegmentRoot
impl Eq for ShardSegmentRoot
impl StructuralPartialEq for ShardSegmentRoot
Auto Trait Implementations§
impl Freeze for ShardSegmentRoot
impl RefUnwindSafe for ShardSegmentRoot
impl Send for ShardSegmentRoot
impl Sync for ShardSegmentRoot
impl Unpin for ShardSegmentRoot
impl UnsafeUnpin for ShardSegmentRoot
impl UnwindSafe for ShardSegmentRoot
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<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