[][src]Struct gio::DBusServer

pub struct DBusServer(_, _);

Implementations

impl DBusServer[src]

pub fn new_sync<P: IsA<Cancellable>>(
    address: &str,
    flags: DBusServerFlags,
    guid: &str,
    observer: Option<&DBusAuthObserver>,
    cancellable: Option<&P>
) -> Result<DBusServer, Error>
[src]

pub fn get_client_address(&self) -> Option<GString>[src]

pub fn get_flags(&self) -> DBusServerFlags[src]

pub fn get_guid(&self) -> Option<GString>[src]

pub fn is_active(&self) -> bool[src]

pub fn start(&self)[src]

pub fn stop(&self)[src]

pub fn get_property_active(&self) -> bool[src]

pub fn get_property_address(&self) -> Option<GString>[src]

pub fn get_property_authentication_observer(&self) -> Option<DBusAuthObserver>[src]

pub fn connect_new_connection<F: Fn(&DBusServer, &DBusConnection) -> bool + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_active_notify<F: Fn(&DBusServer) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_client_address_notify<F: Fn(&DBusServer) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for DBusServer[src]

impl Debug for DBusServer[src]

impl Display for DBusServer[src]

impl Eq for DBusServer[src]

impl Hash for DBusServer[src]

impl Ord for DBusServer[src]

impl<T: ObjectType> PartialEq<T> for DBusServer[src]

impl<T: ObjectType> PartialOrd<T> for DBusServer[src]

impl StaticType for DBusServer[src]

Auto Trait Implementations

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

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

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

impl<T> ObjectExt for T where
    T: ObjectType
[src]

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

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

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

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

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

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
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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.