Struct bloom::LogsBloom
[−]
[src]
pub struct LogsBloom(_);
A log bloom for Ethereum
Methods
impl LogsBloom
[src]
fn new() -> LogsBloom
[src]
Create a new log bloom
fn set(&mut self, arr: &[u8])
[src]
Set respective bits in the bloom with the array
fn check(&self, arr: &[u8]) -> bool
[src]
Check that an array is in the bloom
Trait Implementations
impl Clone for LogsBloom
[src]
fn clone(&self) -> LogsBloom
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LogsBloom
[src]
impl PartialEq for LogsBloom
[src]
fn eq(&self, __arg_0: &LogsBloom) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LogsBloom) -> bool
[src]
This method tests for !=
.
impl Eq for LogsBloom
[src]
impl From<H2048> for LogsBloom
[src]
impl Into<H2048> for LogsBloom
[src]
impl Encodable for LogsBloom
[src]
fn rlp_append(&self, s: &mut RlpStream)
[src]
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
[src]
Get rlp-encoded bytes for this instance
impl Decodable for LogsBloom
[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
[src]
Decode a value from RLP bytes