Docs.rs
sharded-0.2.1
sharded 0.2.1
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
nkconnor
Dependencies
ahash ^0.7
normal
fxhash ^0.2
normal
hashbrown ^0.11
normal
parking_lot ^0.11
normal
seahash ^4
normal
twox-hash ^1
normal
Versions
75.76%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Key
Required Methods
hash
key
Implementors
In sharded::map
?
Trait
sharded
::
map
::
Key
source
·
[
−
]
pub trait Key<K> { fn
hash
(&self) ->
u64
;
fn
key
(&self) ->
&
K; }
Expand description
A shard key
Required Methods
source
fn
hash
(&self) ->
u64
source
fn
key
(&self) ->
&
K
Implementors
source
impl<'a, K>
Key
<K> for
ReadKey
<'a, K>
source
impl<K>
Key
<K> for
WriteKey
<K>