Struct wgctrl_rs::PeerInfo[][src]

pub struct PeerInfo {
    pub config: PeerConfig,
    pub stats: PeerStats,
}

Represents the complete status of a peer.

This struct simply combines PeerInfo and PeerStats to represent all available information about a peer.

Fields

Trait Implementations

impl Debug for PeerInfo
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PeerInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PeerInfo
[src]

impl Clone for PeerInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> From<&'a wg_peer> for PeerInfo
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PeerInfo

impl Sync for PeerInfo