Struct ipfs_sqlite_block_store::Transaction [−][src]
pub struct Transaction<'a, S> { /* fields omitted */ }
Implementations
Set or delete an alias
Returns the aliases referencing a cid.
Resolves an alias to a cid.
Extend temp pin with an additional cid
Checks if the store knows about the cid.
Note that this does not necessarily mean that the store has the data for the cid.
Checks if the store has the data for a cid
Get all cids that the store knows about
Get all cids for which the store has blocks
Get descendants of a cid
Given a root of a dag, gives all cids which we do not have data for.
Put a block. This will only be completed once the transaction is successfully committed
Get the stats for the store.
The stats are kept up to date, so this is fast.
Auto Trait Implementations
impl<'a, S> !RefUnwindSafe for Transaction<'a, S>
impl<'a, S> Send for Transaction<'a, S> where
S: Send,
impl<'a, S> !Sync for Transaction<'a, S>
impl<'a, S> Unpin for Transaction<'a, S> where
S: Unpin,
impl<'a, S> !UnwindSafe for Transaction<'a, S>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more