pub struct Bucket<K: Key, V: Value> { /* fields omitted */ }
Expand description
Bucket is a wrapper for RawBucket
, including the name of the bucket
Check the Key
in the bucket
Get a Value
from bucket by Key
Set an item into the bucket
Remove a item from the bucket by key
Iterate all the items in the bucket
Iterate the items in the bucket with specific range
Iterate the times with special prefix
Get previous key, value pair
Pop item with specific key
Get the length of the bucket
Check there is something in the bucket
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.