[][src]Struct snarkos_network::message::types::getblock::GetBlock

pub struct GetBlock {
    pub block_hash: BlockHeaderHash,
}

A request for a block with the specified hash. See network/protocol/sync.rs for more details.

Fields

block_hash: BlockHeaderHash

Header hash of requested block

Implementations

impl GetBlock[src]

pub fn new(block_hash: BlockHeaderHash) -> Self[src]

Trait Implementations

impl Clone for GetBlock[src]

impl Debug for GetBlock[src]

impl Message for GetBlock[src]

impl PartialEq<GetBlock> for GetBlock[src]

impl StructuralPartialEq for GetBlock[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,