Struct sp_authorship::InherentDataProvider [−][src]
pub struct InherentDataProvider<F, H> { /* fields omitted */ }
Provider for inherent data.
Implementations
Trait Implementations
impl<F, H: Encode + Debug> ProvideInherentData for InherentDataProvider<F, H> where
F: Fn() -> Vec<H>,
[src]
impl<F, H: Encode + Debug> ProvideInherentData for InherentDataProvider<F, H> where
F: Fn() -> Vec<H>,
[src]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, H> RefUnwindSafe for InherentDataProvider<F, H> where
F: RefUnwindSafe,
H: RefUnwindSafe,
F: RefUnwindSafe,
H: RefUnwindSafe,
impl<F, H> Send for InherentDataProvider<F, H> where
F: Send,
H: Send,
F: Send,
H: Send,
impl<F, H> Sync for InherentDataProvider<F, H> where
F: Sync,
H: Sync,
F: Sync,
H: Sync,
impl<F, H> Unpin for InherentDataProvider<F, H> where
F: Unpin,
H: Unpin,
F: Unpin,
H: Unpin,
impl<F, H> UnwindSafe for InherentDataProvider<F, H> where
F: UnwindSafe,
H: UnwindSafe,
F: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> CheckedConversion for T
[src]
impl<T> CheckedConversion for T
[src]pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<T> SaturatedConversion for T
[src]
impl<T> SaturatedConversion for T
[src]pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
[src]
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
[src]
Self: UniqueSaturatedInto<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(self) -> T
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]pub fn unique_saturated_into(self) -> T
[src]
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,