pub struct RoutingHash(/* private fields */);Expand description
The stored routing hash used for shard-range selection.
Implementations§
Trait Implementations§
Source§impl Clone for RoutingHash
impl Clone for RoutingHash
impl Copy for RoutingHash
Source§impl Debug for RoutingHash
impl Debug for RoutingHash
Source§impl<'de> Deserialize<'de> for RoutingHash
impl<'de> Deserialize<'de> for RoutingHash
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
Source§impl Display for RoutingHash
impl Display for RoutingHash
impl Eq for RoutingHash
Source§impl Hash for RoutingHash
impl Hash for RoutingHash
Source§impl Ord for RoutingHash
impl Ord for RoutingHash
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 RoutingHash
impl PartialEq for RoutingHash
Source§impl PartialOrd for RoutingHash
impl PartialOrd for RoutingHash
Source§impl Serialize for RoutingHash
impl Serialize for RoutingHash
impl StructuralPartialEq for RoutingHash
Auto Trait Implementations§
impl Freeze for RoutingHash
impl RefUnwindSafe for RoutingHash
impl Send for RoutingHash
impl Sync for RoutingHash
impl Unpin for RoutingHash
impl UnsafeUnpin for RoutingHash
impl UnwindSafe for RoutingHash
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