#[repr(i32)]pub enum NetworkInterfaceSettings {
ResetPrimaryResetOthers = 0,
PreservePrimaryResetOthers = 1,
PreservePrimaryPreserveOthers = 2,
PreservePrimaryApplyOthers = 3,
ApplyPrimaryResetOthers = 4,
ApplyPrimaryPreserveOthers = 5,
ApplyPrimaryApplyOthers = 6,
}Expand description
The network interface settings that can be applied when setting a system image.
§Definitions
- Reset: Set the adapters back to default. Normally DHCP.
- Apply: Set the adapters to the settings of the system the image was taken to.
- Preserve: Keep the adapter settings of the current system.
Variants§
ResetPrimaryResetOthers = 0
PreservePrimaryResetOthers = 1
PreservePrimaryPreserveOthers = 2
PreservePrimaryApplyOthers = 3
ApplyPrimaryResetOthers = 4
ApplyPrimaryPreserveOthers = 5
ApplyPrimaryApplyOthers = 6
Auto Trait Implementations§
impl Freeze for NetworkInterfaceSettings
impl RefUnwindSafe for NetworkInterfaceSettings
impl Send for NetworkInterfaceSettings
impl Sync for NetworkInterfaceSettings
impl Unpin for NetworkInterfaceSettings
impl UnwindSafe for NetworkInterfaceSettings
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