Enum bgpkit_parser::models::Safi
source · #[repr(u8)]pub enum Safi {
Unicast = 1,
Multicast = 2,
UnicastMulticast = 3,
}
Expand description
SAFI – Subsequent Address Family Identifier
SAFI can be: Unicast, Multicast, or both.
Variants§
Trait Implementations§
source§impl PartialEq for Safi
impl PartialEq for Safi
source§impl TryFrom<u8> for Safi
impl TryFrom<u8> for Safi
§type Error = TryFromPrimitiveError<Safi>
type Error = TryFromPrimitiveError<Safi>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Safi
impl TryFromPrimitive for Safi
impl Copy for Safi
impl Eq for Safi
impl StructuralPartialEq for Safi
Auto Trait Implementations§
impl Freeze for Safi
impl RefUnwindSafe for Safi
impl Send for Safi
impl Sync for Safi
impl Unpin for Safi
impl UnwindSafe for Safi
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.