Trait std::os::windows::io::AsSocket

pub trait AsSocket {
    fn as_socket(&self) -> BorrowedSocket<'_>;
}
???? This is a nightly-only experimental API. (io_safety #87074)
This is supported on Windows only.

A trait to borrow the socket from an underlying object.

Required methods

???? This is a nightly-only experimental API. (io_safety #87074)

Borrows the socket.

Implementors

© 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.AsSocket.html