use zbus::dbus_proxy;
use crate::ascii::AsciiString;
#[dbus_proxy(interface = "org.freedesktop.UDisks2.Loop")]
trait Loop {
fn delete(
&self,
options: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>,
) -> zbus::Result<()>;
fn set_autoclear(
&self,
value: bool,
options: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>,
) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn autoclear(&self) -> zbus::Result<bool>;
#[dbus_proxy(property)]
fn backing_file(&self) -> zbus::Result<AsciiString>;
#[dbus_proxy(property)]
fn setup_by_uid(&self) -> zbus::Result<u32>;
}