Trait fuel_core_txpool::ports::TxPoolDb

source ·
pub trait TxPoolDb: Send + Sync {
    // Required methods
    fn utxo(&self, utxo_id: &UtxoId) -> StorageResult<Option<CompressedCoin>>;
    fn contract_exist(&self, contract_id: &ContractId) -> StorageResult<bool>;
    fn message(&self, message_id: &Nonce) -> StorageResult<Option<Message>>;
}

Required Methods§

source

fn utxo(&self, utxo_id: &UtxoId) -> StorageResult<Option<CompressedCoin>>

source

fn contract_exist(&self, contract_id: &ContractId) -> StorageResult<bool>

source

fn message(&self, message_id: &Nonce) -> StorageResult<Option<Message>>

Implementors§