pub trait AsRawSocket { fn as_raw_socket(&self) -> RawSocket; }
Extract raw sockets.
fn as_raw_socket(&self) -> RawSocket
Extracts the underlying raw socket from this object.
impl AsRawSocket for TcpStream
impl AsRawSocket for TcpListener
impl AsRawSocket for UdpSocket
© 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