pub struct XxHash {}Expand description
Hash strategy type annotation. xxHash is an extremely fast non-cryptographic hash algorithm. It uses 64 bits version of xxHash.
Implementations§
Source§impl XxHash
impl XxHash
pub fn new() -> XxHash
pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> Result<XxHash>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
impl Eq for XxHash
Source§impl Ord for XxHash
impl Ord for XxHash
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 PartialOrd for XxHash
impl PartialOrd for XxHash
impl StructuralPartialEq for XxHash
Auto Trait Implementations§
impl Freeze for XxHash
impl RefUnwindSafe for XxHash
impl Send for XxHash
impl Sync for XxHash
impl Unpin for XxHash
impl UnsafeUnpin for XxHash
impl UnwindSafe for XxHash
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