#[non_exhaustive]pub enum BridgePortMulticastRouterType {
Disabled,
TempQuery,
Perm,
Temp,
Other(u8),
Unknown,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for BridgePortMulticastRouterType
impl Clone for BridgePortMulticastRouterType
source§fn clone(&self) -> BridgePortMulticastRouterType
fn clone(&self) -> BridgePortMulticastRouterType
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<'de> Deserialize<'de> for BridgePortMulticastRouterType
impl<'de> Deserialize<'de> for BridgePortMulticastRouterType
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
source§impl From<BridgePortMulticastRouterType> for u8
impl From<BridgePortMulticastRouterType> for u8
source§fn from(value: BridgePortMulticastRouterType) -> u8
fn from(value: BridgePortMulticastRouterType) -> u8
Converts to this type from the input type.
source§impl From<u8> for BridgePortMulticastRouterType
impl From<u8> for BridgePortMulticastRouterType
source§impl PartialEq for BridgePortMulticastRouterType
impl PartialEq for BridgePortMulticastRouterType
source§fn eq(&self, other: &BridgePortMulticastRouterType) -> bool
fn eq(&self, other: &BridgePortMulticastRouterType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BridgePortMulticastRouterType
impl StructuralPartialEq for BridgePortMulticastRouterType
Auto Trait Implementations§
impl Freeze for BridgePortMulticastRouterType
impl RefUnwindSafe for BridgePortMulticastRouterType
impl Send for BridgePortMulticastRouterType
impl Sync for BridgePortMulticastRouterType
impl Unpin for BridgePortMulticastRouterType
impl UnwindSafe for BridgePortMulticastRouterType
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