W3cubDocs

/Rust

Trait std::os::windows::io::AsRawSocket

pub trait AsRawSocket {
    fn as_raw_socket(&self) -> RawSocket;
}
This is supported on Windows only.

Extract raw sockets.

Required Methods

This is supported on Windows only.

Extracts the underlying raw socket from this object.

Implementors

impl AsRawSocket for TcpListener [src]

This is supported on Windows only.

impl AsRawSocket for TcpStream [src]

This is supported on Windows only.

impl AsRawSocket for UdpSocket [src]

This is supported on Windows only.

© 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