Struct libc::sockpeercred
source · [−]Fields
uid: uid_t
gid: gid_t
pid: pid_t
Trait Implementations
sourceimpl Clone for sockpeercred
impl Clone for sockpeercred
sourcefn clone(&self) -> sockpeercred
fn clone(&self) -> sockpeercred
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for sockpeercred
impl Debug for sockpeercred
sourceimpl Hash for sockpeercred
impl Hash for sockpeercred
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
sourceimpl PartialEq<sockpeercred> for sockpeercred
impl PartialEq<sockpeercred> for sockpeercred
sourcefn eq(&self, other: &sockpeercred) -> bool
fn eq(&self, other: &sockpeercred) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &sockpeercred) -> bool
fn ne(&self, other: &sockpeercred) -> bool
This method tests for !=
.
impl Copy for sockpeercred
impl Eq for sockpeercred
impl StructuralEq for sockpeercred
impl StructuralPartialEq for sockpeercred
Auto Trait Implementations
impl RefUnwindSafe for sockpeercred
impl Send for sockpeercred
impl Sync for sockpeercred
impl Unpin for sockpeercred
impl UnwindSafe for sockpeercred
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more