Trait OrgFreedesktopDBusProperties

Source
pub trait OrgFreedesktopDBusProperties {
    // Required methods
    fn get(
        &self,
        interface: &str,
        property: &str,
    ) -> Result<Variant<Box<dyn RefArg + 'static>>, Error>;
    fn get_all(&self, interface: &str) -> Result<PropMap, Error>;
    fn set(
        &self,
        interface: &str,
        property: &str,
        value: Variant<Box<dyn RefArg>>,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn get( &self, interface: &str, property: &str, ) -> Result<Variant<Box<dyn RefArg + 'static>>, Error>

Source

fn get_all(&self, interface: &str) -> Result<PropMap, Error>

Source

fn set( &self, interface: &str, property: &str, value: Variant<Box<dyn RefArg>>, ) -> Result<(), Error>

Implementations on Foreign Types§

Source§

impl<'a, T: BlockingSender, C: Deref<Target = T>> OrgFreedesktopDBusProperties for Proxy<'a, C>

Source§

fn get( &self, interface: &str, property: &str, ) -> Result<Variant<Box<dyn RefArg + 'static>>, Error>

Source§

fn get_all(&self, interface: &str) -> Result<PropMap, Error>

Source§

fn set( &self, interface: &str, property: &str, value: Variant<Box<dyn RefArg>>, ) -> Result<(), Error>

Implementors§