[][src]Struct sp_finality_tracker::InherentDataProvider

pub struct InherentDataProvider<F, N> { /* fields omitted */ }

Provider for inherent data.

Methods

impl<F, N> InherentDataProvider<F, N>[src]

pub fn new(final_oracle: F) -> Self[src]

Trait Implementations

impl<F, N: Encode> ProvideInherentData for InherentDataProvider<F, N> where
    F: Fn() -> Result<N, Error>, 
[src]

Auto Trait Implementations

impl<F, N> RefUnwindSafe for InherentDataProvider<F, N> where
    F: RefUnwindSafe,
    N: RefUnwindSafe

impl<F, N> Send for InherentDataProvider<F, N> where
    F: Send,
    N: Send

impl<F, N> Sync for InherentDataProvider<F, N> where
    F: Sync,
    N: Sync

impl<F, N> Unpin for InherentDataProvider<F, N> where
    F: Unpin,
    N: Unpin

impl<F, N> UnwindSafe for InherentDataProvider<F, N> where
    F: UnwindSafe,
    N: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.