Struct sapio_base::txindex::CachedTxIndex [−][src]
Fields
cache: Cache
primary: Primary
Trait Implementations
impl<Cache, Primary> TxIndex for CachedTxIndex<Cache, Primary> where
Cache: TxIndex,
Primary: TxIndex,
[src]
Cache: TxIndex,
Primary: TxIndex,
fn lookup_tx(&self, b: &Txid) -> Result<Arc<Transaction>, TxIndexError>
[src]
fn add_tx(&self, tx: Arc<Transaction>) -> Result<Txid, TxIndexError>
[src]
fn lookup_output(&self, b: &OutPoint) -> Result<TxOut, TxIndexError>
[src]
Auto Trait Implementations
impl<Cache, Primary> RefUnwindSafe for CachedTxIndex<Cache, Primary> where
Cache: RefUnwindSafe,
Primary: RefUnwindSafe,
Cache: RefUnwindSafe,
Primary: RefUnwindSafe,
impl<Cache, Primary> Send for CachedTxIndex<Cache, Primary> where
Cache: Send,
Primary: Send,
Cache: Send,
Primary: Send,
impl<Cache, Primary> Sync for CachedTxIndex<Cache, Primary> where
Cache: Sync,
Primary: Sync,
Cache: Sync,
Primary: Sync,
impl<Cache, Primary> Unpin for CachedTxIndex<Cache, Primary> where
Cache: Unpin,
Primary: Unpin,
Cache: Unpin,
Primary: Unpin,
impl<Cache, Primary> UnwindSafe for CachedTxIndex<Cache, Primary> where
Cache: UnwindSafe,
Primary: UnwindSafe,
Cache: UnwindSafe,
Primary: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,