Home
last modified time | relevance | path

Searched refs:FromFd (Results 1 - 10 of 10) sorted by relevance

/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_mio.rs6 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 Dimpls_os_pipe.rs6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd};
65 impl FromFd for os_pipe::PipeReader {
145 impl FromFd for os_pipe::PipeWriter {
H A Dimpls_async_std.rs6 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 Dimpls_std.rs1 #![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 Dimpls_socket2.rs6 use crate::{AsFd, BorrowedFd, FromFd, IntoFd, OwnedFd};
65 impl FromFd for socket2::Socket {
H A Dimpls_tokio.rs6 use crate::{AsFd, BorrowedFd, FromFd, OwnedFd};
33 impl FromFd for tokio::fs::File {
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
94 impl<T: From<OwnedFd>> FromFd for T {
H A Dtraits.rs127 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 Dfcopyfile.rs20 pub unsafe fn fcopyfile<FromFd: AsFd, ToFd: AsFd>( in fcopyfile()
21 from: FromFd, in fcopyfile()
/third_party/rust/crates/io-lifetimes/examples/
H A Downing-wrapper.rs5 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