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<T: TInputProtocol>( i_prot: &mut T, ) -> Result<XxHash>
pub fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<usize>
Trait Implementations§
Source§impl Ord for XxHash
impl Ord for XxHash
Source§impl PartialOrd for XxHash
impl PartialOrd for XxHash
Source§impl ReadThrift for XxHash
impl ReadThrift for XxHash
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<XxHash>
impl Copy for XxHash
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)