Struct rusty_leveldb::BloomPolicy [] [src]

pub struct BloomPolicy { /* fields omitted */ }

A filter policy using a bloom filter internally.

Methods

impl BloomPolicy
[src]

Beware the magic numbers...

[src]

Returns a new boxed BloomPolicy.

Trait Implementations

impl Clone for BloomPolicy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl FilterPolicy for BloomPolicy
[src]

[src]

Returns a string identifying this policy.

[src]

Create a filter matching the given keys. Keys are given as a long byte array that is indexed by the offsets contained in key_offsets. Read more

[src]

Check whether the given key may match the filter.