Trait yrs::iter::TxnIterator
source · pub trait TxnIterator {
type Item;
// Required method
fn next<T: ReadTxn>(&mut self, txn: &T) -> Option<Self::Item>;
// Provided method
fn collect<T, B>(&mut self, txn: &T) -> B
where T: ReadTxn,
B: Default + Extend<Self::Item> { ... }
}
Expand description
Iterator equivalent that can be supplied with transaction when iteration step may need it.
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.