Trait std::os::windows::io::AsRawSocket
pub trait AsRawSocket { fn as_raw_socket(&self) -> RawSocket; }
This is supported on Windows only.
Extracts raw sockets.
Required methods
fn as_raw_socket(&self) -> RawSocket
Extracts the underlying raw socket from this object.
Implementors
impl AsRawSocket for TcpListener
impl AsRawSocket for TcpStream
impl AsRawSocket for UdpSocket
impl AsRawSocket for BorrowedSocket<'_>
impl AsRawSocket for OwnedSocket
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/windows/io/trait.AsRawSocket.html