pub struct RoutingRangeEnd(/* private fields */);Expand description
The exclusive upper bound of a shard routing-hash range.
This is a u64 because the final range ends at 2^32, one past the
largest value representable by RoutingHash.
Implementations§
Trait Implementations§
Source§impl Clone for RoutingRangeEnd
impl Clone for RoutingRangeEnd
impl Copy for RoutingRangeEnd
Source§impl Debug for RoutingRangeEnd
impl Debug for RoutingRangeEnd
Source§impl<'de> Deserialize<'de> for RoutingRangeEnd
impl<'de> Deserialize<'de> for RoutingRangeEnd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RoutingRangeEnd
Source§impl Hash for RoutingRangeEnd
impl Hash for RoutingRangeEnd
Source§impl Ord for RoutingRangeEnd
impl Ord for RoutingRangeEnd
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 RoutingRangeEnd
impl PartialEq for RoutingRangeEnd
Source§impl PartialOrd for RoutingRangeEnd
impl PartialOrd for RoutingRangeEnd
Source§impl Serialize for RoutingRangeEnd
impl Serialize for RoutingRangeEnd
impl StructuralPartialEq for RoutingRangeEnd
Auto Trait Implementations§
impl Freeze for RoutingRangeEnd
impl RefUnwindSafe for RoutingRangeEnd
impl Send for RoutingRangeEnd
impl Sync for RoutingRangeEnd
impl Unpin for RoutingRangeEnd
impl UnsafeUnpin for RoutingRangeEnd
impl UnwindSafe for RoutingRangeEnd
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