mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-12-15 10:01:39 +01:00
Implement wifiaddressentry
This commit is contained in:
parent
29eea9ce4a
commit
cd980350e4
10 changed files with 362 additions and 212 deletions
|
|
@ -6,8 +6,15 @@ use std::collections::HashMap;
|
|||
use std::time::Duration;
|
||||
use ReSet_Lib::network::connection::Connection as ResetConnection;
|
||||
|
||||
#[derive(Default, Copy, Clone)]
|
||||
pub enum IpProtocol {
|
||||
#[default]
|
||||
IPv4,
|
||||
IPv6,
|
||||
}
|
||||
|
||||
type ResultType =
|
||||
Result<(HashMap<String, HashMap<String, dbus::arg::Variant<Box<dyn RefArg>>>>,), Error>;
|
||||
Result<(HashMap<String, HashMap<String, dbus::arg::Variant<Box<dyn RefArg>>>>,), Error>;
|
||||
|
||||
pub fn getConnectionSettings(path: Path<'static>) -> ResetConnection {
|
||||
let conn = Connection::new_session().unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue