Struct rust_chain::db::TableI64
source · [−]pub struct TableI64<T> where
T: Packer + PrimaryValueInterface + Default, {
pub code: u64,
pub scope: u64,
pub table: u64,
/* private fields */
}
Expand description
Fields
code: u64
scope: u64
table: u64
Implementations
sourceimpl<T> TableI64<T> where
T: Packer + PrimaryValueInterface + Default,
impl<T> TableI64<T> where
T: Packer + PrimaryValueInterface + Default,
sourcepub fn get(&self, iterator: &Iterator<'_, T>) -> Option<T>
pub fn get(&self, iterator: &Iterator<'_, T>) -> Option<T>
get value by iterator. use Iterator::get_value for a more convenient way.
sourcepub fn lower_bound(&self, key: u64) -> Iterator<'_, T>
pub fn lower_bound(&self, key: u64) -> Iterator<'_, T>
return a iterator with a key >= key
sourcepub fn upper_bound(&self, key: u64) -> Iterator<'_, T>
pub fn upper_bound(&self, key: u64) -> Iterator<'_, T>
return a iterator with a key > key
Auto Trait Implementations
impl<T> RefUnwindSafe for TableI64<T> where
T: RefUnwindSafe,
impl<T> Send for TableI64<T> where
T: Send,
impl<T> Sync for TableI64<T> where
T: Sync,
impl<T> Unpin for TableI64<T> where
T: Unpin,
impl<T> UnwindSafe for TableI64<T> where
T: UnwindSafe,
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