Struct bitcoin_db::DBIterator
source · pub struct DBIterator<'a> { /* private fields */ }
Expand description
Implementations§
source§impl<'a> DBIterator<'a>
impl<'a> DBIterator<'a>
sourcepub fn new(parent: &DBWrapper, piter: *mut LevelDBIterator) -> Self
pub fn new(parent: &DBWrapper, piter: *mut LevelDBIterator) -> Self
| @param[in] _parent | | Parent CDBWrapper instance. | ––––– | @param[in] _piter | | The original leveldb iterator. |
pub fn seek<K>(&mut self, key: &K)
pub fn get_key<K>(&mut self, key: &mut K) -> bool
pub fn get_value<V>(&mut self, value: &mut V) -> bool
pub fn get_value_size(&mut self) -> usize
pub fn valid(&self) -> bool
pub fn seek_to_first(&mut self)
pub fn next(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DBIterator<'a>
impl<'a> !Send for DBIterator<'a>
impl<'a> !Sync for DBIterator<'a>
impl<'a> Unpin for DBIterator<'a>
impl<'a> !UnwindSafe for DBIterator<'a>
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more