SignalledInjectionBuildHasher

Struct SignalledInjectionBuildHasher 

Source
pub struct SignalledInjectionBuildHasher<H: Hasher, B: BuildHasher<Hasher = H>, const PF: ProtocolFlags> { /* private fields */ }

Implementations§

Source§

impl<H: Hasher, B: BuildHasher<Hasher = H>, const PF: ProtocolFlags> SignalledInjectionBuildHasher<H, B, PF>

Source

pub fn new(build: B) -> Self

Trait Implementations§

Source§

impl<H: Hasher, B: BuildHasher<Hasher = H>, const PF: ProtocolFlags> BuildHasher for SignalledInjectionBuildHasher<H, B, PF>

Source§

type Hasher = SignalledInjectionHasher<H, PF>

Type of the hasher that will be created.
Source§

fn build_hasher(&self) -> Self::Hasher

Creates a new hasher. Read more
1.71.0 · Source§

fn hash_one<T>(&self, x: T) -> u64
where T: Hash, Self: Sized, Self::Hasher: Hasher,

Calculates the hash of a single value. Read more

Auto Trait Implementations§

§

impl<H, B, const PF: u8> Freeze for SignalledInjectionBuildHasher<H, B, PF>
where B: Freeze,

§

impl<H, B, const PF: u8> RefUnwindSafe for SignalledInjectionBuildHasher<H, B, PF>
where B: RefUnwindSafe,

§

impl<H, B, const PF: u8> Send for SignalledInjectionBuildHasher<H, B, PF>
where B: Send,

§

impl<H, B, const PF: u8> Sync for SignalledInjectionBuildHasher<H, B, PF>
where B: Sync,

§

impl<H, B, const PF: u8> Unpin for SignalledInjectionBuildHasher<H, B, PF>
where B: Unpin,

§

impl<H, B, const PF: u8> UnwindSafe for SignalledInjectionBuildHasher<H, B, PF>
where B: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.