pub struct HashVector {
pub label: &'static str,
pub bytes: Vec<u8>,
pub hex: String,
pub seed: U64Split,
pub expected: U64Split,
}Expand description
One golden XXH64 vector: every host suite hashes bytes with seed and expects expected.
Fields§
§label: &'static str§bytes: Vec<u8>§hex: StringLowercase hex of bytes, computed once (hosts decode it; no language needs a large array
literal).
seed: U64Split§expected: U64SplitTrait Implementations§
Source§impl Clone for HashVector
impl Clone for HashVector
Auto Trait Implementations§
impl Forget for HashVector
impl Freeze for HashVector
impl Move for HashVector
impl RefUnwindSafe for HashVector
impl Send for HashVector
impl Sync for HashVectorwhere
RawVecInner: Sync,
impl Unpin for HashVector
impl UnsafeUnpin for HashVector
impl UnwindSafe for HashVector
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