Struct sp_finality_tracker::InherentDataProvider [−][src]
Provider for inherent data.
Implementations
impl<F, N> InherentDataProvider<F, N>
[src]
Trait Implementations
impl<F, N: Encode> ProvideInherentData for InherentDataProvider<F, N> where
F: Fn() -> Result<N, Error>,
[src]
F: Fn() -> Result<N, Error>,
fn inherent_identifier(&self) -> &'static InherentIdentifier
[src]
fn provide_inherent_data(
&self,
inherent_data: &mut InherentData
) -> Result<(), Error>
[src]
&self,
inherent_data: &mut InherentData
) -> Result<(), Error>
fn error_to_string(&self, _error: &[u8]) -> Option<String>
[src]
pub fn on_register(&self, &InherentDataProviders) -> Result<(), Error>
[src]
Auto Trait Implementations
impl<F, N> RefUnwindSafe for InherentDataProvider<F, N> where
F: RefUnwindSafe,
N: RefUnwindSafe,
F: RefUnwindSafe,
N: RefUnwindSafe,
impl<F, N> Send for InherentDataProvider<F, N> where
F: Send,
N: Send,
F: Send,
N: Send,
impl<F, N> Sync for InherentDataProvider<F, N> where
F: Sync,
N: Sync,
F: Sync,
N: Sync,
impl<F, N> Unpin for InherentDataProvider<F, N> where
F: Unpin,
N: Unpin,
F: Unpin,
N: Unpin,
impl<F, N> UnwindSafe for InherentDataProvider<F, N> where
F: UnwindSafe,
N: UnwindSafe,
F: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,