We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd531f commit d762efbCopy full SHA for d762efb
src/sys/windows.rs
@@ -925,6 +925,8 @@ impl crate::Socket {
925
926
/// Returns the [`Protocol`] of this socket by checking the `SO_PROTOCOL_INFOW`
927
/// option on this socket.
928
+ ///
929
+ /// [`Protocol`]: crate::Protocol
930
#[cfg(feature = "all")]
931
pub fn protocol(&self) -> io::Result<Option<crate::Protocol>> {
932
let info = unsafe {
0 commit comments