Home
last modified time | relevance | path

Searched refs:IntoFd (Results 1 - 9 of 9) sorted by relevance

/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_mio.rs6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd};
33 impl IntoFd for mio::net::TcpStream {
113 impl IntoFd for mio::net::TcpListener {
193 impl IntoFd for mio::net::UdpSocket {
265 impl IntoFd for mio::net::UnixDatagram {
305 impl IntoFd for mio::net::UnixListener {
345 impl IntoFd for mio::net::UnixStream {
385 impl IntoFd for mio::unix::pipe::Receiver {
425 impl IntoFd for mio::unix::pipe::Sender {
H A Dimpls_std.rs1 #![allow(deprecated)] // Don't warn on `IntoFd` and `FromFd` impls.
4 use crate::{AsFd, FromFd, IntoFd};
69 impl IntoFd for OwnedFd {
149 impl IntoFd for std::fs::File {
229 impl IntoFd for std::net::TcpStream {
309 impl IntoFd for std::net::TcpListener {
389 impl IntoFd for std::net::UdpSocket {
565 impl IntoFd for std::process::ChildStdin {
613 impl IntoFd for std::process::ChildStdout {
661 impl IntoFd fo
[all...]
H A Dimpls_fs_err.rs6 use crate::{AsFd, BorrowedFd, IntoFd, OwnedFd};
33 impl IntoFd for fs_err::File {
H A Dimpls_os_pipe.rs6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd};
33 impl IntoFd for os_pipe::PipeReader {
113 impl IntoFd for os_pipe::PipeWriter {
H A Dimpls_async_std.rs6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd};
40 impl IntoFd for async_std::fs::File {
120 impl IntoFd for async_std::net::TcpStream {
200 impl IntoFd for async_std::net::TcpListener {
280 impl IntoFd for async_std::net::UdpSocket {
400 impl IntoFd for async_std::os::unix::net::UnixStream {
440 impl IntoFd for async_std::os::unix::net::UnixListener {
480 impl IntoFd for async_std::os::unix::net::UnixDatagram {
H A Dimpls_socket2.rs6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd};
33 impl IntoFd for socket2::Socket {
H A Dlib.rs52 pub use traits::{FromFd, IntoFd};
80 // io-lifetimes defined `FromFd`/`IntoFd` traits instead of just using
89 // So we define `FromFd`/`IntoFd` traits, and implement them in terms of
103 impl<T> IntoFd for T
H A Dtraits.rs69 note = "`IntoFd` is replaced by `From<...> for OwnedFd` or `Into<OwnedFd>`" in as_socket()
71 pub trait IntoFd { in as_socket() traits
79 /// use io_lifetimes::{IntoFd, OwnedFd}; in as_socket()
135 /// use io_lifetimes::{FromFd, IntoFd, OwnedFd};
156 /// use io_lifetimes::{FromFd, IntoFd};
/third_party/rust/crates/io-lifetimes/examples/
H A Downing-wrapper.rs11 use io_lifetimes::IntoFd;
23 /// Implementing `AsFd`, `IntoFd`, and `FromFd` for a type that wraps an
48 impl IntoFd for Thing { in as_fd()

Completed in 10 milliseconds