pub enum InterfaceType {
Wireless,
Lan,
RemoteAccess,
All,
}Expand description
Enum representing different types of network interfaces.
Corresponds to the values accepted by INetFwRule::get_InterfaceTypes.
Variants§
Wireless
Wireless interface
Lan
LAN interface
RemoteAccess
Remote Access interface
All
Applies to all interfaces
Trait Implementations§
Source§impl Clone for InterfaceType
impl Clone for InterfaceType
Source§fn clone(&self) -> InterfaceType
fn clone(&self) -> InterfaceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterfaceType
Source§impl Debug for InterfaceType
impl Debug for InterfaceType
Source§impl Display for InterfaceType
impl Display for InterfaceType
impl Eq for InterfaceType
Source§impl FromStr for InterfaceType
impl FromStr for InterfaceType
Source§impl Hash for InterfaceType
impl Hash for InterfaceType
Source§impl PartialEq for InterfaceType
impl PartialEq for InterfaceType
Source§fn eq(&self, other: &InterfaceType) -> bool
fn eq(&self, other: &InterfaceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceType
Auto Trait Implementations§
impl Freeze for InterfaceType
impl RefUnwindSafe for InterfaceType
impl Send for InterfaceType
impl Sync for InterfaceType
impl Unpin for InterfaceType
impl UnsafeUnpin for InterfaceType
impl UnwindSafe for InterfaceType
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