[][src]Struct lib3h_p2p_protocol::p2p::MsgPing

pub struct MsgPing {
    pub send_epoch_ms: u64,
}

a message used to verify connectivity with a remote node

Fields

send_epoch_ms: u64

set the milliseconds since unix epoch when sending this message

Trait Implementations

impl Clone for MsgPing[src]

impl Debug for MsgPing[src]

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

impl Eq for MsgPing[src]

impl Hash for MsgPing[src]

impl PartialEq<MsgPing> for MsgPing[src]

impl Serialize for MsgPing[src]

impl StructuralEq for MsgPing[src]

impl StructuralPartialEq for MsgPing[src]

Auto Trait Implementations

impl RefUnwindSafe for MsgPing

impl Send for MsgPing

impl Sync for MsgPing

impl Unpin for MsgPing

impl UnwindSafe for MsgPing

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.