Struct sc_consensus_epochs::IncrementedEpoch [−][src]
#[must_use = "Freshly-incremented epoch must be imported with `EpochChanges::import`"]pub struct IncrementedEpoch<E: Epoch>(_);
A fresh, incremented epoch to import into the underlying fork-tree.
Create this with ViableEpoch::increment
.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for IncrementedEpoch<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for IncrementedEpoch<E> where
E: Send,
E: Send,
impl<E> Sync for IncrementedEpoch<E> where
E: Sync,
E: Sync,
impl<E> Unpin for IncrementedEpoch<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for IncrementedEpoch<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T, U> AsByteSlice<T> for U where
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
[src]
impl<T, U> AsByteSlice<T> for U where
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
[src]pub fn as_byte_slice(&self) -> &[u8]
[src]
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
[src]
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
[src]pub fn as_slice_of<T>(&self) -> Result<&[T], Error> where
T: FromByteSlice,
[src]
T: FromByteSlice,
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> 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<Ctx, T> MeasureWith<Ctx> for T where
T: AsRef<[u8]>,
[src]
impl<Ctx, T> MeasureWith<Ctx> for T where
T: AsRef<[u8]>,
[src]pub fn measure_with(&self, _ctx: &Ctx) -> usize
[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<T> ToHex for T where
T: AsRef<[u8]>,
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
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> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,
pub fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,