[][src]Struct stellar_base::xdr::PeerStats

pub struct PeerStats {
    pub id: NodeId,
    pub version_str: String,
    pub messages_read: Uint64,
    pub messages_written: Uint64,
    pub bytes_read: Uint64,
    pub bytes_written: Uint64,
    pub seconds_connected: Uint64,
    pub unique_flood_bytes_recv: Uint64,
    pub duplicate_flood_bytes_recv: Uint64,
    pub unique_fetch_bytes_recv: Uint64,
    pub duplicate_fetch_bytes_recv: Uint64,
    pub unique_flood_message_recv: Uint64,
    pub duplicate_flood_message_recv: Uint64,
    pub unique_fetch_message_recv: Uint64,
    pub duplicate_fetch_message_recv: Uint64,
}

Fields

id: NodeIdversion_str: Stringmessages_read: Uint64messages_written: Uint64bytes_read: Uint64bytes_written: Uint64seconds_connected: Uint64unique_flood_bytes_recv: Uint64duplicate_flood_bytes_recv: Uint64unique_fetch_bytes_recv: Uint64duplicate_fetch_bytes_recv: Uint64unique_flood_message_recv: Uint64duplicate_flood_message_recv: Uint64unique_fetch_message_recv: Uint64duplicate_fetch_message_recv: Uint64

Trait Implementations

impl Debug for PeerStats[src]

impl XDRIn for PeerStats[src]

impl XDROut for PeerStats[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, 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.