Struct blockconvert::DomainSetSharded [−][src]
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,
H: Send,
impl<H> Sync for DomainSetSharded<H> where
H: Sync,
H: Sync,
impl<H> Unpin for DomainSetSharded<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for DomainSetSharded<H> where
H: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,