gio::prelude

Trait UnixCredentialsMessageExt

Source
pub trait UnixCredentialsMessageExt: IsA<UnixCredentialsMessage> + 'static {
    // Provided method
    fn credentials(&self) -> Credentials { ... }
}
Available on Unix only.
Expand description

Trait containing all UnixCredentialsMessage methods.

§Implementors

UnixCredentialsMessage

Provided Methods§

Source

fn credentials(&self) -> Credentials

Gets the credentials stored in @self.

§Returns

A #GCredentials instance. Do not free, it is owned by @self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§