Struct fc_db::MappingDb[][src]

pub struct MappingDb<Block: BlockT> { /* fields omitted */ }


impl<Block: BlockT> MappingDb<Block>[src]

pub fn is_synced(&self, block_hash: &Block::Hash) -> Result<bool, String>[src]

pub fn block_hash(
    ethereum_block_hash: &H256
) -> Result<Option<Block::Hash>, String>

pub fn transaction_metadata(
    ethereum_transaction_hash: &H256
) -> Result<Vec<TransactionMetadata<Block>>, String>

pub fn write_hashes(
    commitment: MappingCommitment<Block>
) -> Result<(), String>

Auto Trait Implementations

impl<Block> !RefUnwindSafe for MappingDb<Block>

impl<Block> Send for MappingDb<Block>

impl<Block> Sync for MappingDb<Block>

impl<Block> Unpin for MappingDb<Block> where
    Block: Unpin

impl<Block> !UnwindSafe for MappingDb<Block>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> CheckedConversion for T[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,