pub enum IPv4AddressSource {
AutoIp,
AutoIpDoIp,
DHCPv4,
Fixed,
}
Expand description
IPv4AddressSource
defines how the address of an IPv4 NetworkEndpoint
is obtained
Variants§
AutoIp
use AutoIp
(aka APIPA) to assign a link-local address
AutoIpDoIp
use AutoIp
with DoIp
settings to assign a link-local address
DHCPv4
dynamic assignment using DHCP
Fixed
static IP address configuration - the address must be specified in NetworkEndpointAddress
Trait Implementations§
Source§impl Clone for IPv4AddressSource
impl Clone for IPv4AddressSource
Source§fn clone(&self) -> IPv4AddressSource
fn clone(&self) -> IPv4AddressSource
Returns a duplicate 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 Debug for IPv4AddressSource
impl Debug for IPv4AddressSource
Source§impl From<IPv4AddressSource> for EnumItem
impl From<IPv4AddressSource> for EnumItem
Source§fn from(value: IPv4AddressSource) -> Self
fn from(value: IPv4AddressSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IPv4AddressSource
impl PartialEq for IPv4AddressSource
impl Copy for IPv4AddressSource
impl Eq for IPv4AddressSource
impl StructuralPartialEq for IPv4AddressSource
Auto Trait Implementations§
impl Freeze for IPv4AddressSource
impl RefUnwindSafe for IPv4AddressSource
impl Send for IPv4AddressSource
impl Sync for IPv4AddressSource
impl Unpin for IPv4AddressSource
impl UnwindSafe for IPv4AddressSource
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.