Docs.rs
shared_lru-0.1.5
shared_lru 0.1.5
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
shelbyd
Dependencies
dashmap ^4.0.2
normal
log ^0.4.14
normal
lru ^0.7.0
normal
rand ^0.8.4
normal
serde_json ^1.0.72
normal
Versions
13.33%
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
☰
Trait MemorySize
Required Methods
bytes
Implementations on Foreign Types
HashMap<K, V>
Option<T>
String
Vec<T>
VecDeque<T>
str
Implementors
Other items in
shared_lru
?
Trait
shared_lru
::
MemorySize
[
−
]
[src]
pub trait MemorySize { fn
bytes
(&self) ->
usize
; }
Required methods
[src]
fn
bytes
(&self) ->
usize
Implementations on Foreign Types
[src]
impl<T>
MemorySize
for
Vec
<T>
where
T:
MemorySize
,
[src]
fn
bytes
(&self) ->
usize
[src]
impl<T:
MemorySize
>
MemorySize
for
VecDeque
<T>
[src]
fn
bytes
(&self) ->
usize
[src]
impl<K:
MemorySize
, V:
MemorySize
>
MemorySize
for
HashMap
<K, V>
[src]
fn
bytes
(&self) ->
usize
[src]
impl
MemorySize
for
str
[src]
fn
bytes
(&self) ->
usize
[src]
impl
MemorySize
for
String
[src]
fn
bytes
(&self) ->
usize
[src]
impl<T>
MemorySize
for
Option
<T>
where
T:
MemorySize
,
[src]
fn
bytes
(&self) ->
usize
Implementors
[src]
impl<T>
MemorySize
for T
where
T:
JustStack
,