Crate bobbytables [] [src]

Structs

Counter

The public Counter structure which contains the inner mutable state. This allows us to put this straight into an Arc and safely share between threads

CounterIterator

Functions

clean_key

Clean a given key string. This involves stripping non ascii characters out and limiting the key to 16 characters. The resulting key is stack allocated so be careful with it. If you need it long term put it in a Box.

djb2_hash

An implementation of the djb2 hash using rust iterators over the contents of the HashKey array.