pub struct Keys { /* private fields */ }
Expand description
Collection of keys in a store
This is created with Store::keys()
.
The individual keys can be iterated through with Keys::iter()
which will return a &[u8]
byte slice for each key
Implementations
sourceimpl Keys
impl Keys
sourcepub fn iter(&self) -> KeysIterator<'_>ⓘNotable traits for KeysIterator<'a>impl<'a> Iterator for KeysIterator<'a> type Item = &'a [u8];
pub fn iter(&self) -> KeysIterator<'_>ⓘNotable traits for KeysIterator<'a>impl<'a> Iterator for KeysIterator<'a> type Item = &'a [u8];
Returns an iterator over the keys
Auto Trait Implementations
impl RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnwindSafe for Keys
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more