Struct solana_bloom::bloom::ConcurrentBloom
source · pub struct ConcurrentBloom<T> { /* private fields */ }
Expand description
Bloom filter that can be used concurrently. Concurrent reads/writes are safe, but are not atomic at the struct level, this means that reads may see partial writes.
Implementations§
Trait Implementations§
source§impl<T: BloomHashIndex> From<Bloom<T>> for ConcurrentBloom<T>
impl<T: BloomHashIndex> From<Bloom<T>> for ConcurrentBloom<T>
source§impl<T: BloomHashIndex> From<ConcurrentBloom<T>> for Bloom<T>
impl<T: BloomHashIndex> From<ConcurrentBloom<T>> for Bloom<T>
source§fn from(atomic_bloom: ConcurrentBloom<T>) -> Self
fn from(atomic_bloom: ConcurrentBloom<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ConcurrentBloom<T>
impl<T> RefUnwindSafe for ConcurrentBloom<T>where
T: RefUnwindSafe,
impl<T> Send for ConcurrentBloom<T>where
T: Send,
impl<T> Sync for ConcurrentBloom<T>where
T: Sync,
impl<T> Unpin for ConcurrentBloom<T>where
T: Unpin,
impl<T> UnwindSafe for ConcurrentBloom<T>where
T: UnwindSafe,
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