[][src]Struct snarkos_network::message::types::verack::Verack

pub struct Verack {
    pub nonce: u64,
    pub address_receiver: SocketAddr,
    pub address_sender: SocketAddr,
}

A handshake response to a Version message. See network/protocol/handshake.rs for more details.

Fields

nonce: u64

Random nonce sequence number

address_receiver: SocketAddr

Network address of sending node

address_sender: SocketAddr

Network address of sending node

Implementations

impl Verack[src]

pub fn new(
    nonce: u64,
    address_receiver: SocketAddr,
    address_sender: SocketAddr
) -> Self
[src]

Trait Implementations

impl Clone for Verack[src]

impl Debug for Verack[src]

impl Message for Verack[src]

impl PartialEq<Verack> for Verack[src]

impl StructuralPartialEq for Verack[src]

Auto Trait Implementations

impl RefUnwindSafe for Verack

impl Send for Verack

impl Sync for Verack

impl Unpin for Verack

impl UnwindSafe for Verack

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>,