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

Provided Methods§

source

fn credentials(&self) -> Credentials

Gets the credentials stored in self.

Returns

A Credentials instance. Do not free, it is owned by self.

Object Safety§

This trait is not object safe.

Implementors§