std
1.77.0
(aedd173a2 2024-03-17)
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.