Enum bgpkit_parser::ElemType
source · pub enum ElemType {
ANNOUNCE,
WITHDRAW,
}
Expand description
Element type.
- ANNOUNCE: announcement/reachable prefix
- WITHDRAW: withdrawn/unreachable prefix
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<ElemType> for ElemType
impl PartialEq<ElemType> for ElemType
source§impl Serialize for ElemType
impl Serialize for ElemType
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 ElemType
impl Eq for ElemType
impl StructuralEq for ElemType
impl StructuralPartialEq for ElemType
Auto Trait Implementations§
impl RefUnwindSafe for ElemType
impl Send for ElemType
impl Sync for ElemType
impl Unpin for ElemType
impl UnwindSafe for ElemType
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.