Struct sc_client_db::RefTrackingState[][src]

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

A reference tracking state.

It makes sure that the hash we are using stays pinned in storage until this structure is dropped.

Trait Implementations

impl<B: BlockT> Backend<<<B as Block>::Header as Header>::Hashing> for RefTrackingState<B>[src]

type Error = <DbState<B> as StateBackend<HashFor<B>>>::Error

An error type when fetching data is not possible.

type Transaction = <DbState<B> as StateBackend<HashFor<B>>>::Transaction

Storage changes to be applied if committing

type TrieBackendStorage = <DbState<B> as StateBackend<HashFor<B>>>::TrieBackendStorage

Type of trie backend storage.

impl<Block: BlockT> Debug for RefTrackingState<Block>[src]

impl<B: BlockT> Drop for RefTrackingState<B>[src]

Auto Trait Implementations

impl<Block> !RefUnwindSafe for RefTrackingState<Block>

impl<Block> Send for RefTrackingState<Block>

impl<Block> Sync for RefTrackingState<Block>

impl<Block> Unpin for RefTrackingState<Block> where
    <Block as Block>::Hash: Unpin

impl<Block> !UnwindSafe for RefTrackingState<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<H, B> InspectState<H, B> for B where
    B: Backend<H>,
    H: Hasher, 

impl<T> Instrument 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> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

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>, 

impl<T> WithSubscriber for T[src]