[−][src]Struct nix::sys::socket::UnixCredentials
Unix credentials of the sending process.
This struct is used with the SO_PEERCRED
ancillary message for UNIX sockets.
Methods
impl UnixCredentials
[src]
impl UnixCredentials
pub fn pid(&self) -> pid_t | [src] |
Returns the process identifier
pub fn uid(&self) -> uid_t | [src] |
Returns the user identifier
pub fn gid(&self) -> gid_t | [src] |
Returns the group identifier
Trait Implementations
impl From<ucred> for UnixCredentials
[src]
impl From<ucred> for UnixCredentials
impl Eq for UnixCredentials
[src]
impl Eq for UnixCredentials
impl Into<ucred> for UnixCredentials
[src]
impl Into<ucred> for UnixCredentials
impl Copy for UnixCredentials
[src]
impl Copy for UnixCredentials
impl PartialEq<UnixCredentials> for UnixCredentials
[src]
impl PartialEq<UnixCredentials> for UnixCredentials
fn eq(&self, other: &Self) -> bool | [src] |
| 1.0.0 [src] |
This method tests for !=
.
impl Clone for UnixCredentials
[src]
impl Clone for UnixCredentials
fn clone(&self) -> UnixCredentials | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for UnixCredentials
[src]
impl Debug for UnixCredentials
Auto Trait Implementations
impl Send for UnixCredentials
impl Send for UnixCredentials
impl Sync for UnixCredentials
impl Sync for UnixCredentials
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |