Struct zbus::fdo::Properties [−][src]
Server-side implementation for the org.freedesktop.DBus.Properties interface.
This interface is implemented automatically for any object registered to the
ObjectServer.
Implementations
impl Properties[src]
pub fn properties_changed(
&self,
interface_name: &str,
changed_properties: &HashMap<&str, &Value<'_>>,
invalidated_properties: &[&str]
) -> Result<()>[src]
&self,
interface_name: &str,
changed_properties: &HashMap<&str, &Value<'_>>,
invalidated_properties: &[&str]
) -> Result<()>
Emits the org.freedesktop.DBus.Properties.PropertiesChanged signal.
Trait Implementations
impl Interface for Properties[src]
fn name() -> &'static str[src]
fn get(&self, property_name: &str) -> Option<Result<OwnedValue>>[src]
fn get_all(&self) -> HashMap<String, OwnedValue>[src]
fn set(&mut self, property_name: &str, value: &Value<'_>) -> Option<Result<()>>[src]
fn call(&self, c: &Connection, m: &Message, name: &str) -> Option<Result<u32>>[src]
fn call_mut(
&mut self,
c: &Connection,
m: &Message,
name: &str
) -> Option<Result<u32>>[src]
&mut self,
c: &Connection,
m: &Message,
name: &str
) -> Option<Result<u32>>
fn introspect_to_writer(&self, writer: &mut dyn Write, level: usize)[src]
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,