use std::collections::HashMap;
use zbus::proxy;
use zvariant::{OwnedObjectPath, OwnedValue};
#[proxy(
interface = "org.freedesktop.ModemManager1.Modem.Simple",
default_service = "org.freedesktop.ModemManager1"
)]
pub trait MMModemSimple {
fn connect(
&self,
properties: HashMap<&str, zvariant::Value<'_>>,
) -> zbus::Result<OwnedObjectPath>;
fn disconnect(&self, bearer: OwnedObjectPath) -> zbus::Result<()>;
fn get_status(&self) -> zbus::Result<HashMap<String, OwnedValue>>;
}