Struct nix::sys::socket::UnixCredentials [] [src]

#[repr(C)]
pub struct UnixCredentials(_);

Unix credentials of the sending process.

This struct is used with the SO_PEERCRED ancillary message for UNIX sockets.

Methods

impl UnixCredentials
[src]

[src]

Returns the process identifier

[src]

Returns the user identifier

[src]

Returns the group identifier

Trait Implementations

impl Clone for UnixCredentials
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for UnixCredentials
[src]

impl PartialEq for UnixCredentials
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for UnixCredentials
[src]

impl Debug for UnixCredentials
[src]

[src]

Formats the value using the given formatter. Read more