Enum bgp_models::bgp::BgpMessage
source · pub enum BgpMessage {
Open(BgpOpenMessage),
Update(BgpUpdateMessage),
Notification(BgpNotificationMessage),
KeepAlive(BgpKeepAliveMessage),
}Variants§
Open(BgpOpenMessage)
Update(BgpUpdateMessage)
Notification(BgpNotificationMessage)
KeepAlive(BgpKeepAliveMessage)
Trait Implementations§
source§impl Clone for BgpMessage
impl Clone for BgpMessage
source§fn clone(&self) -> BgpMessage
fn clone(&self) -> BgpMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BgpMessage
impl Debug for BgpMessage
source§impl PartialEq<BgpMessage> for BgpMessage
impl PartialEq<BgpMessage> for BgpMessage
source§fn eq(&self, other: &BgpMessage) -> bool
fn eq(&self, other: &BgpMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.