pub struct TransactionsProvider<'a> { /* private fields */ }
Expand description
TODO(doc): @quake
Implementations
sourceimpl<'a> TransactionsProvider<'a>
impl<'a> TransactionsProvider<'a>
sourcepub fn new(transactions: impl Iterator<Item = &'a TransactionView>) -> Self
pub fn new(transactions: impl Iterator<Item = &'a TransactionView>) -> Self
TODO(doc): @quake
sourcepub fn insert(&mut self, transaction: &'a TransactionView)
pub fn insert(&mut self, transaction: &'a TransactionView)
TODO(doc): @quake
Trait Implementations
sourceimpl<'a> CellProvider for TransactionsProvider<'a>
impl<'a> CellProvider for TransactionsProvider<'a>
sourcefn cell(&self, out_point: &OutPoint, _eager_load: bool) -> CellStatus
fn cell(&self, out_point: &OutPoint, _eager_load: bool) -> CellStatus
TODO(doc): @quake
sourceimpl<'a> Default for TransactionsProvider<'a>
impl<'a> Default for TransactionsProvider<'a>
sourcefn default() -> TransactionsProvider<'a>
fn default() -> TransactionsProvider<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for TransactionsProvider<'a>
impl<'a> Send for TransactionsProvider<'a>
impl<'a> Sync for TransactionsProvider<'a>
impl<'a> Unpin for TransactionsProvider<'a>
impl<'a> UnwindSafe for TransactionsProvider<'a>
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