Searched refs:FromFd (Results 1 - 10 of 10) sorted by relevance
/third_party/rust/crates/io-lifetimes/src/ |
H A D | impls_mio.rs | 6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd}; 65 impl FromFd for mio::net::TcpStream { 145 impl FromFd for mio::net::TcpListener { 225 impl FromFd for mio::net::UdpSocket { 281 impl FromFd for mio::net::UnixDatagram { 321 impl FromFd for mio::net::UnixListener { 361 impl FromFd for mio::net::UnixStream { 401 impl FromFd for mio::unix::pipe::Receiver { 441 impl FromFd for mio::unix::pipe::Sender {
|
H A D | impls_os_pipe.rs | 6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd}; 65 impl FromFd for os_pipe::PipeReader { 145 impl FromFd for os_pipe::PipeWriter {
|
H A D | impls_async_std.rs | 6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd}; 72 impl FromFd for async_std::fs::File { 152 impl FromFd for async_std::net::TcpStream { 232 impl FromFd for async_std::net::TcpListener { 312 impl FromFd for async_std::net::UdpSocket { 416 impl FromFd for async_std::os::unix::net::UnixStream { 456 impl FromFd for async_std::os::unix::net::UnixListener { 496 impl FromFd for async_std::os::unix::net::UnixDatagram {
|
H A D | impls_std.rs | 1 #![allow(deprecated)] // Don't warn on `IntoFd` and `FromFd` impls. 4 use crate::{AsFd, FromFd, IntoFd}; 93 impl FromFd for OwnedFd { 181 impl FromFd for std::fs::File { 261 impl FromFd for std::net::TcpStream { 341 impl FromFd for std::net::TcpListener { 421 impl FromFd for std::net::UdpSocket { 693 impl FromFd for std::process::Stdio { 773 impl FromFd for std::os::unix::net::UnixStream { 813 impl FromFd fo [all...] |
H A D | impls_socket2.rs | 6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd}; 65 impl FromFd for socket2::Socket {
|
H A D | impls_tokio.rs | 6 use crate::{AsFd, BorrowedFd, FromFd, OwnedFd}; 33 impl FromFd for tokio::fs::File {
|
H A D | lib.rs | 52 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 94 impl<T: From<OwnedFd>> FromFd for T {
|
H A D | traits.rs | 127 pub trait FromFd { traits 135 /// use io_lifetimes::{FromFd, IntoFd, OwnedFd}; 144 note = "`FromFd::from_fd` is replaced by `From<OwnedFd>::from`" 156 /// use io_lifetimes::{FromFd, IntoFd};
|
/third_party/rust/crates/rustix/src/fs/ |
H A D | fcopyfile.rs | 20 pub unsafe fn fcopyfile<FromFd: AsFd, ToFd: AsFd>( in fcopyfile() 21 from: FromFd, in fcopyfile()
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | owning-wrapper.rs | 5 use io_lifetimes::FromFd; 23 /// Implementing `AsFd`, `IntoFd`, and `FromFd` for a type that wraps an 65 impl FromFd for Thing {
|
Completed in 6 milliseconds