Struct blockconvert::DomainSetSharded[][src]

pub struct DomainSetSharded<H: BuildHasher> { /* fields omitted */ }

Implementations

impl<H: BuildHasher + Default> DomainSetSharded<H>[src]

pub fn new() -> Self[src]

pub fn with_shards(shard_count: usize) -> Self[src]

impl<T: BuildHasher> DomainSetSharded<T>[src]

pub fn with_shards_and_hasher(shard_count: usize, hasher: T) -> Self[src]

pub fn contains(&self, data: &[u8]) -> bool[src]

pub fn contains_str(&self, data: &str) -> bool[src]

pub fn insert(&self, data: &[u8]) -> bool[src]

pub fn insert_str(&self, data: &str) -> bool[src]

pub fn remove(&self, data: &[u8]) -> bool[src]

pub fn remove_str(&self, data: &str) -> bool[src]

pub fn into_iter(self) -> impl Iterator<Item = Vec<u8>>[src]

pub fn into_iter_string(self) -> impl Iterator<Item = String>[src]

pub fn into_iter_domains(self) -> impl Iterator<Item = Domain>[src]

pub fn shrink_to_fit(&self)[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl<H: BuildHasher + Default> Default for DomainSetSharded<H>[src]

Auto Trait Implementations

impl<H> !RefUnwindSafe for DomainSetSharded<H>

impl<H> Send for DomainSetSharded<H> where
    H: Send

impl<H> Sync for DomainSetSharded<H> where
    H: Sync

impl<H> Unpin for DomainSetSharded<H> where
    H: Unpin

impl<H> UnwindSafe for DomainSetSharded<H> where
    H: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.