pub struct ChangesTrieConfigurationRange<'a, N> {
pub config: &'a ChangesTrieConfiguration,
pub zero: N,
pub end: Option<N>,
}
Expand description
Blocks range where configuration has been constant.
Fields
config: &'a ChangesTrieConfiguration
Active configuration.
zero: N
Zero block of this configuration. The configuration is active starting from the next block.
end: Option<N>
End block of this configuration. It is the last block where configuration has been active.
Trait Implementations
sourceimpl<'a, N: Clone> Clone for ConfigurationRange<'a, N>
impl<'a, N: Clone> Clone for ConfigurationRange<'a, N>
sourcefn clone(&self) -> ConfigurationRange<'a, N>
fn clone(&self) -> ConfigurationRange<'a, N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a, N> RefUnwindSafe for ConfigurationRange<'a, N> where
N: RefUnwindSafe,
impl<'a, N> Send for ConfigurationRange<'a, N> where
N: Send,
impl<'a, N> Sync for ConfigurationRange<'a, N> where
N: Sync,
impl<'a, N> Unpin for ConfigurationRange<'a, N> where
N: Unpin,
impl<'a, N> UnwindSafe for ConfigurationRange<'a, N> where
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
sourcepub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.