W3cubDocs

/Rust

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

This is supported on Windows only.

Extracts the underlying raw socket from this object.

Loading content...

Implementors

impl AsRawSocket for TcpListener[src]

impl AsRawSocket for TcpStream[src]

impl AsRawSocket for UdpSocket[src]

Loading content...

© 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