pub enum ConfigEdit {
Add(InterfaceDefinition),
Replace {
current: InterfaceName,
replacement: InterfaceDefinition,
},
Rename {
current: InterfaceName,
replacement: InterfaceName,
},
SetEnabled {
name: InterfaceName,
enabled: bool,
},
SetType {
name: InterfaceName,
kind: InterfaceKind,
},
ChangeSettings {
name: InterfaceName,
changes: Vec<InterfaceSettingChange>,
},
ReplaceRNodeMultiRadios {
name: InterfaceName,
radios: Vec<RNodeMultiRadioDefinition>,
},
Remove(InterfaceName),
RemoveInterfaceValue {
name: InterfaceName,
key: InterfaceConfigKey,
},
Batch(Vec<ConfigEdit>),
}Variants§
Add(InterfaceDefinition)
Replace
Rename
SetEnabled
SetType
ChangeSettings
ReplaceRNodeMultiRadios
Remove(InterfaceName)
RemoveInterfaceValue
Batch(Vec<ConfigEdit>)
Trait Implementations§
Source§impl Clone for ConfigEdit
impl Clone for ConfigEdit
Source§fn clone(&self) -> ConfigEdit
fn clone(&self) -> ConfigEdit
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 moreSource§impl Debug for ConfigEdit
impl Debug for ConfigEdit
Source§impl PartialEq for ConfigEdit
impl PartialEq for ConfigEdit
impl StructuralPartialEq for ConfigEdit
Auto Trait Implementations§
impl Freeze for ConfigEdit
impl RefUnwindSafe for ConfigEdit
impl Send for ConfigEdit
impl Sync for ConfigEdit
impl Unpin for ConfigEdit
impl UnsafeUnpin for ConfigEdit
impl UnwindSafe for ConfigEdit
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