pub struct CopyBounds {
pub state: u64,
pub trie: u64,
pub statements: Option<u64>,
pub blocks: Option<(u64, u32)>,
}Expand description
刈り込みながら写すときの境(Db::copy_to)。それぞれ、この高さより上の差分だけを写す
Fields§
§state: u64§trie: u64§statements: Option<u64>ステートメントも、この高さより上だけを写す。None なら全部
blocks: Option<(u64, u32)>ブロックをこの高さより上だけ、ファイナライズの証明をこのエポックから写す(Db::prune_history と同じ境)。
None なら全部
Trait Implementations§
Source§impl Clone for CopyBounds
impl Clone for CopyBounds
Source§fn clone(&self) -> CopyBounds
fn clone(&self) -> CopyBounds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CopyBounds
Auto Trait Implementations§
impl Freeze for CopyBounds
impl RefUnwindSafe for CopyBounds
impl Send for CopyBounds
impl Sync for CopyBounds
impl Unpin for CopyBounds
impl UnsafeUnpin for CopyBounds
impl UnwindSafe for CopyBounds
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more