[][src]Struct geen::MerkleCheckPoint

pub struct MerkleCheckPoint { /* fields omitted */ }

Methods

impl MerkleCheckPoint[src]

pub fn new(nodes_added: Vec<H256>, nodes_deleted: Bitmap) -> MerkleCheckPoint[src]

pub fn nodes_added(&self) -> &Vec<H256>[src]

Return a reference to the hashes of the nodes added in the checkpoint

pub fn nodes_deleted(&self) -> &Bitmap[src]

Return a reference to the roaring bitmap of nodes that were deleted in this checkpoint

pub fn into_parts(self) -> (Vec<H256>, Bitmap)[src]

Break a checkpoint up into its constituent parts

Trait Implementations

impl Clone for MerkleCheckPoint[src]

impl Debug for MerkleCheckPoint[src]

impl<'de> Deserialize<'de> for MerkleCheckPoint[src]

impl Serialize for MerkleCheckPoint[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> FromCast<T> for T

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> FromBits<T> for T

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,