Struct common_types::snapshot::ManifestData [−][src]
Manifest data.
Fields
version: u64Snapshot format version.
state_hashes: Vec<H256>List of state chunk hashes.
block_hashes: Vec<H256>List of block chunk hashes.
state_root: H256The final, expected state root.
block_number: u64Block number this snapshot was taken at.
block_hash: H256Block hash this snapshot was taken at.
Implementations
impl ManifestData[src]
pub fn into_rlp(self) -> Bytes[src]
Encode the manifest data to rlp.
pub fn from_rlp(raw: &[u8]) -> Result<Self, DecoderError>[src]
Try to restore manifest data from raw bytes, interpreted as RLP.
Trait Implementations
impl Clone for ManifestData[src]
fn clone(&self) -> ManifestData[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ManifestData[src]
impl Eq for ManifestData[src]
impl PartialEq<ManifestData> for ManifestData[src]
fn eq(&self, other: &ManifestData) -> bool[src]
fn ne(&self, other: &ManifestData) -> bool[src]
impl StructuralEq for ManifestData[src]
impl StructuralPartialEq for ManifestData[src]
Auto Trait Implementations
impl RefUnwindSafe for ManifestData
impl Send for ManifestData
impl Sync for ManifestData
impl Unpin for ManifestData
impl UnwindSafe for ManifestData
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> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,