[]Struct gio::DBusInterfaceInfo

pub struct DBusInterfaceInfo(_);

Information about a D-Bus interface.

Implementations

impl DBusInterfaceInfo[src]

pub fn generate_xml(&self, indent: u32, string_builder: &mut String)[src]

Appends an XML representation of self (and its children) to string_builder.

This function is typically used for generating introspection XML documents at run-time for handling the org.freedesktop.DBus.Introspectable.Introspect method.

indent

Indentation level.

string_builder

A glib::String to to append XML data to.

pub fn lookup_method(&self, name: &str) -> Option<DBusMethodInfo>[src]

Looks up information about a method.

The cost of this function is O(n) in number of methods unless DBusInterfaceInfo::cache_build has been used on self.

name

A D-Bus method name (typically in CamelCase)

Returns

A DBusMethodInfo or None if not found. Do not free, it is owned by self.

pub fn lookup_property(&self, name: &str) -> Option<DBusPropertyInfo>[src]

Looks up information about a property.

The cost of this function is O(n) in number of properties unless DBusInterfaceInfo::cache_build has been used on self.

name

A D-Bus property name (typically in CamelCase).

Returns

A DBusPropertyInfo or None if not found. Do not free, it is owned by self.

pub fn lookup_signal(&self, name: &str) -> Option<DBusSignalInfo>[src]

Looks up information about a signal.

The cost of this function is O(n) in number of signals unless DBusInterfaceInfo::cache_build has been used on self.

name

A D-Bus signal name (typically in CamelCase)

Returns

A DBusSignalInfo or None if not found. Do not free, it is owned by self.

Trait Implementations

impl Clone for DBusInterfaceInfo

impl Debug for DBusInterfaceInfo[src]

impl Eq for DBusInterfaceInfo[src]

impl Hash for DBusInterfaceInfo[src]

impl Ord for DBusInterfaceInfo[src]

impl PartialEq<DBusInterfaceInfo> for DBusInterfaceInfo[src]

impl PartialOrd<DBusInterfaceInfo> for DBusInterfaceInfo[src]

impl StaticType for DBusInterfaceInfo

impl StructuralEq for DBusInterfaceInfo[src]

impl StructuralPartialEq for DBusInterfaceInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for DBusInterfaceInfo

impl !Send for DBusInterfaceInfo

impl !Sync for DBusInterfaceInfo

impl Unpin for DBusInterfaceInfo

impl UnwindSafe for DBusInterfaceInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.