Enum alloy_primitives::BloomInput
source · pub enum BloomInput<'a> {
Raw(&'a [u8]),
Hash(B256),
}
Expand description
Input to the Bloom::accrue
method.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> Clone for BloomInput<'a>
impl<'a> Clone for BloomInput<'a>
source§fn clone(&self) -> BloomInput<'a>
fn clone(&self) -> BloomInput<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for BloomInput<'a>
impl<'a> Debug for BloomInput<'a>
source§impl From<BloomInput<'_>> for Bloom
impl From<BloomInput<'_>> for Bloom
source§fn from(input: BloomInput<'_>) -> Self
fn from(input: BloomInput<'_>) -> Self
Converts to this type from the input type.
impl<'a> Copy for BloomInput<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BloomInput<'a>
impl<'a> Send for BloomInput<'a>
impl<'a> Sync for BloomInput<'a>
impl<'a> Unpin for BloomInput<'a>
impl<'a> UnwindSafe for BloomInput<'a>
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