#[repr(u8)]pub enum OrfType {
Reserved = 0,
Unassigned(u8),
AddressPrefix = 64,
CoveringPrefix = 65,
VpnPrefix = 66,
VendorSpecific(u8),
}Variants§
Reserved = 0
Unassigned(u8)
AddressPrefix = 64
CoveringPrefix = 65
VpnPrefix = 66
VendorSpecific(u8)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrfType
impl<'de> Deserialize<'de> for OrfType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OrfType
Source§impl<'_enum> From<&'_enum OrfType> for OrfTypeDiscriminants
impl<'_enum> From<&'_enum OrfType> for OrfTypeDiscriminants
Source§fn from(val: &'_enum OrfType) -> OrfTypeDiscriminants
fn from(val: &'_enum OrfType) -> OrfTypeDiscriminants
Converts to this type from the input type.
Source§impl From<OrfType> for OrfTypeDiscriminants
impl From<OrfType> for OrfTypeDiscriminants
Source§fn from(val: OrfType) -> OrfTypeDiscriminants
fn from(val: OrfType) -> OrfTypeDiscriminants
Converts to this type from the input type.
Source§impl IntoDiscriminant for OrfType
impl IntoDiscriminant for OrfType
Source§type Discriminant = OrfTypeDiscriminants
type Discriminant = OrfTypeDiscriminants
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
impl StructuralPartialEq for OrfType
Auto Trait Implementations§
impl Freeze for OrfType
impl RefUnwindSafe for OrfType
impl Send for OrfType
impl Sync for OrfType
impl Unpin for OrfType
impl UnsafeUnpin for OrfType
impl UnwindSafe for OrfType
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