rustix
0.38.42
In rustix::
backend::
net::
sockopt
Function
rustix
::
backend
::
net
::
sockopt
::
get_socket_protocol
Copy item path
source
ยท
[
−
]
pub(crate) fn get_socket_protocol( fd:
BorrowedFd
<'_>, ) ->
Result
<
Option
<
Protocol
>>