Enum bgpkit_parser::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 ==
.source§impl Serialize for BgpMessage
impl Serialize for BgpMessage
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for BgpMessage
impl StructuralEq for BgpMessage
impl StructuralPartialEq for BgpMessage
Auto Trait Implementations§
impl RefUnwindSafe for BgpMessage
impl Send for BgpMessage
impl Sync for BgpMessage
impl Unpin for BgpMessage
impl UnwindSafe for BgpMessage
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.