pub enum IpAddressSource {
Unspecified,
Static,
Dhcp,
BiosOrSystemSoftware,
Other,
Reserved(u8),
}Expand description
IP address source values.
Reference: IPMI 2.0 Specification, Table 23-4, parameter #4.
Variants§
Trait Implementations§
Source§impl Clone for IpAddressSource
impl Clone for IpAddressSource
Source§fn clone(&self) -> IpAddressSource
fn clone(&self) -> IpAddressSource
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 IpAddressSource
Source§impl Debug for IpAddressSource
impl Debug for IpAddressSource
Source§impl Display for IpAddressSource
impl Display for IpAddressSource
impl Eq for IpAddressSource
Source§impl From<IpAddressSource> for u8
impl From<IpAddressSource> for u8
Source§fn from(value: IpAddressSource) -> Self
fn from(value: IpAddressSource) -> Self
Converts to this type from the input type.
Source§impl From<u8> for IpAddressSource
impl From<u8> for IpAddressSource
Source§impl PartialEq for IpAddressSource
impl PartialEq for IpAddressSource
impl StructuralPartialEq for IpAddressSource
Auto Trait Implementations§
impl Freeze for IpAddressSource
impl RefUnwindSafe for IpAddressSource
impl Send for IpAddressSource
impl Sync for IpAddressSource
impl Unpin for IpAddressSource
impl UnsafeUnpin for IpAddressSource
impl UnwindSafe for IpAddressSource
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