Renamed Settings to Mode since it only applies to network mode byte
This commit is contained in:
parent
ce36644d9c
commit
7dd4c04fe4
2 changed files with 51 additions and 15 deletions
|
|
@ -136,14 +136,14 @@ pub enum ArpResponses {
|
|||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
pub struct Settings {
|
||||
pub struct Mode {
|
||||
on_wake_on_lan: OnWakeOnLan,
|
||||
on_ping_request: OnPingRequest,
|
||||
connection_type: ConnectionType,
|
||||
arp_responses: ArpResponses
|
||||
arp_responses: ArpResponses,
|
||||
}
|
||||
|
||||
impl Default for Settings {
|
||||
impl Default for Mode {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
on_wake_on_lan: OnWakeOnLan::Ignore,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue