[][src]Struct merkle_tree_stream::NodeParts

pub struct NodeParts<H> { /* fields omitted */ }

The parts that make up a full Node from a PartialNode

Methods

impl<H> NodeParts<H>[src]

pub fn node(&self) -> &PartialNode[src]

Access the node property.

pub fn node_mut(&mut self) -> &mut PartialNode[src]

Access the node property mutably.

pub fn hash(&self) -> &H[src]

Access the hash property.

pub fn hash_mut(&mut self) -> &mut H[src]

Access the hash property mutably.

Trait Implementations

impl<H: Debug> Debug for NodeParts<H>[src]

impl From<NodeParts<Vec<u8>>> for DefaultNode[src]

Auto Trait Implementations

impl<H> RefUnwindSafe for NodeParts<H> where
    H: RefUnwindSafe

impl<H> Send for NodeParts<H> where
    H: Send

impl<H> Sync for NodeParts<H> where
    H: Sync

impl<H> Unpin for NodeParts<H> where
    H: Unpin

impl<H> UnwindSafe for NodeParts<H> where
    H: UnwindSafe

Blanket Implementations

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

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

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

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

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

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.