pub enum DhcpFallback {
Static,
AutoConfig,
None,
UnsupportedValue,
}Variants§
Static
Fall back to a static address specified by IPv4StaticAddresses.
DHCP shall fall back to a static address specified by IPv4StaticAddresses.
AutoConfig
Fall back to an autoconfigured address.
DHCP shall fall back to an address generated by the implementation.
None
Continue attempting DHCP without a fallback address.
DHCP shall continue trying to obtain an address without falling back to a fixed address.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for DhcpFallback
impl Clone for DhcpFallback
Source§fn clone(&self) -> DhcpFallback
fn clone(&self) -> DhcpFallback
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 DhcpFallback
impl Debug for DhcpFallback
Source§impl<'de> Deserialize<'de> for DhcpFallback
impl<'de> Deserialize<'de> for DhcpFallback
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 PartialEq for DhcpFallback
impl PartialEq for DhcpFallback
Source§impl Serialize for DhcpFallback
impl Serialize for DhcpFallback
Source§impl ToSnakeCase for DhcpFallback
impl ToSnakeCase for DhcpFallback
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for DhcpFallback
impl Eq for DhcpFallback
impl StructuralPartialEq for DhcpFallback
Auto Trait Implementations§
impl Freeze for DhcpFallback
impl RefUnwindSafe for DhcpFallback
impl Send for DhcpFallback
impl Sync for DhcpFallback
impl Unpin for DhcpFallback
impl UnsafeUnpin for DhcpFallback
impl UnwindSafe for DhcpFallback
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