☰
std
1.75.0
(82e1608df 2023-12-21) (Tencent 1.75.0-1.module+oc8.8.0+558+b51dc527)
In std::os::unix::ucred::impl_linux
?
Function
std
::
os
::
unix
::
ucred
::
impl_linux
::
peer_cred
source
·
[
−
]
pub fn peer_cred(socket: &
UnixStream
) ->
Result
<
UCred
>
🔬
This is a nightly-only experimental API. (
peer_credentials_unix_socket
#42839
)
Available on
Unix
only.