[][src]Struct bmp_client::types::PeerUp

pub struct PeerUp {
    pub local_addr: IpAddr,
    pub local_port: u16,
    pub remote_port: u16,
    pub sent_open: Option<Open>,
    pub recv_open: Option<Open>,
    pub information: Vec<InformationTlv>,
}

Peer Up Notification

The Peer Up message is used to indicate that a peering session has come up (i.e., has transitioned into the Established state).

Fields

local_addr: IpAddr

Local IP address used in BGP TCP session

local_port: u16

Local TCP port

remote_port: u16

Remote TCP port

sent_open: Option<Open>

BGP OPEN message sent by the BMP speaker

recv_open: Option<Open>

BGP OPEN message received by the BMP speaker

information: Vec<InformationTlv>

Information TLVs

Trait Implementations

impl Clone for PeerUp[src]

impl Debug for PeerUp[src]

Auto Trait Implementations

impl RefUnwindSafe for PeerUp

impl Send for PeerUp

impl Sync for PeerUp

impl Unpin for PeerUp

impl UnwindSafe for PeerUp

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