Struct bloomchain::Bloom [] [src]

pub struct Bloom(_);

2048 bits long hash.

Methods

impl Bloom
[src]

TODO: this functions should be moved to trait and made generic, for bloom with any size.

Quickly checks if this bloom contains the other bloom.

Trait Implementations

impl From<[u8; 256]> for Bloom
[src]

Performs the conversion.

impl Into<[u8; 256]> for Bloom
[src]

Performs the conversion.

impl Default for Bloom
[src]

Returns the "default value" for a type. Read more

impl Clone for Bloom
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl BitOr for Bloom
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a> BitOr for &'a Bloom
[src]

The resulting type after applying the | operator

The method for the | operator