Enum bgpkit_parser::community::Community
source · pub enum Community {
NoExport,
NoAdvertise,
NoExportSubConfed,
Custom(Asn, u16),
}
Variants§
Trait Implementations§
source§impl PartialEq<Community> for Community
impl PartialEq<Community> for Community
source§impl Serialize for Community
impl Serialize for Community
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 Copy for Community
impl Eq for Community
impl StructuralEq for Community
impl StructuralPartialEq for Community
Auto Trait Implementations§
impl RefUnwindSafe for Community
impl Send for Community
impl Sync for Community
impl Unpin for Community
impl UnwindSafe for Community
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.