Lines Matching defs:std

12 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
14 use std::os::wasi::io::{AsRawFd, FromRawFd, IntoRawFd};
16 use std::os::windows::io::{
133 impl AsFd for std::fs::File {
141 impl AsHandle for std::fs::File {
149 impl IntoFd for std::fs::File {
157 impl From<std::fs::File> for OwnedFd {
159 fn from(owned: std::fs::File) -> Self {
165 impl IntoHandle for std::fs::File {
173 impl From<std::fs::File> for OwnedHandle {
175 fn from(owned: std::fs::File) -> Self {
181 impl FromFd for std::fs::File {
189 impl From<OwnedFd> for std::fs::File {
197 impl FromHandle for std::fs::File {
205 impl From<OwnedHandle> for std::fs::File {
213 impl AsFd for std::net::TcpStream {
221 impl AsSocket for std::net::TcpStream {
229 impl IntoFd for std::net::TcpStream {
237 impl From<std::net::TcpStream> for OwnedFd {
239 fn from(owned: std::net::TcpStream) -> Self {
245 impl IntoSocket for std::net::TcpStream {
253 impl From<std::net::TcpStream> for OwnedSocket {
255 fn from(owned: std::net::TcpStream) -> Self {
261 impl FromFd for std::net::TcpStream {
269 impl From<OwnedFd> for std::net::TcpStream {
277 impl FromSocket for std::net::TcpStream {
285 impl From<OwnedSocket> for std::net::TcpStream {
293 impl AsFd for std::net::TcpListener {
301 impl AsSocket for std::net::TcpListener {
309 impl IntoFd for std::net::TcpListener {
317 impl From<std::net::TcpListener> for OwnedFd {
319 fn from(owned: std::net::TcpListener) -> Self {
325 impl IntoSocket for std::net::TcpListener {
333 impl From<std::net::TcpListener> for OwnedSocket {
335 fn from(owned: std::net::TcpListener) -> Self {
341 impl FromFd for std::net::TcpListener {
349 impl From<OwnedFd> for std::net::TcpListener {
357 impl FromSocket for std::net::TcpListener {
365 impl From<OwnedSocket> for std::net::TcpListener {
373 impl AsFd for std::net::UdpSocket {
381 impl AsSocket for std::net::UdpSocket {
389 impl IntoFd for std::net::UdpSocket {
397 impl From<std::net::UdpSocket> for OwnedFd {
399 fn from(owned: std::net::UdpSocket) -> Self {
405 impl IntoSocket for std::net::UdpSocket {
413 impl From<std::net::UdpSocket> for OwnedSocket {
415 fn from(owned: std::net::UdpSocket) -> Self {
421 impl FromFd for std::net::UdpSocket {
429 impl From<OwnedFd> for std::net::UdpSocket {
437 impl FromSocket for std::net::UdpSocket {
445 impl From<OwnedSocket> for std::net::UdpSocket {
453 impl AsFd for std::io::Stdin {
461 impl AsHandle for std::io::Stdin {
469 impl<'a> AsFd for std::io::StdinLock<'a> {
477 impl<'a> AsHandle for std::io::StdinLock<'a> {
485 impl AsFd for std::io::Stdout {
493 impl AsHandle for std::io::Stdout {
501 impl<'a> AsFd for std::io::StdoutLock<'a> {
509 impl<'a> AsHandle for std::io::StdoutLock<'a> {
517 impl AsFd for std::io::Stderr {
525 impl AsHandle for std::io::Stderr {
533 impl<'a> AsFd for std::io::StderrLock<'a> {
541 impl<'a> AsHandle for std::io::StderrLock<'a> {
549 impl AsFd for std::process::ChildStdin {
557 impl AsHandle for std::process::ChildStdin {
565 impl IntoFd for std::process::ChildStdin {
573 impl From<std::process::ChildStdin> for OwnedFd {
575 fn from(owned: std::process::ChildStdin) -> Self {
581 impl IntoHandle for std::process::ChildStdin {
589 impl From<std::process::ChildStdin> for OwnedHandle {
591 fn from(owned: std::process::ChildStdin) -> Self {
597 impl AsFd for std::process::ChildStdout {
605 impl AsHandle for std::process::ChildStdout {
613 impl IntoFd for std::process::ChildStdout {
621 impl From<std::process::ChildStdout> for OwnedFd {
623 fn from(owned: std::process::ChildStdout) -> Self {
629 impl IntoHandle for std::process::ChildStdout {
637 impl From<std::process::ChildStdout> for OwnedHandle {
639 fn from(owned: std::process::ChildStdout) -> Self {
645 impl AsFd for std::process::ChildStderr {
653 impl AsHandle for std::process::ChildStderr {
661 impl IntoFd for std::process::ChildStderr {
669 impl From<std::process::ChildStderr> for OwnedFd {
671 fn from(owned: std::process::ChildStderr) -> Self {
677 impl IntoHandle for std::process::ChildStderr {
685 impl From<std::process::ChildStderr> for OwnedHandle {
687 fn from(owned: std::process::ChildStderr) -> Self {
693 impl FromFd for std::process::Stdio {
701 impl From<OwnedFd> for std::process::Stdio {
709 impl FromHandle for std::process::Stdio {
717 impl From<OwnedHandle> for std::process::Stdio {
725 impl AsHandle for std::process::Child {
733 impl IntoHandle for std::process::Child {
741 impl From<std::process::Child> for OwnedHandle {
743 fn from(owned: std::process::Child) -> Self {
749 impl AsFd for std::os::unix::net::UnixStream {
757 impl IntoFd for std::os::unix::net::UnixStream {
765 impl From<std::os::unix::net::UnixStream> for OwnedFd {
767 fn from(owned: std::os::unix::net::UnixStream) -> Self {
773 impl FromFd for std::os::unix::net::UnixStream {
781 impl From<OwnedFd> for std::os::unix::net::UnixStream {
789 impl AsFd for std::os::unix::net::UnixListener {
797 impl IntoFd for std::os::unix::net::UnixListener {
805 impl From<std::os::unix::net::UnixListener> for OwnedFd {
807 fn from(owned: std::os::unix::net::UnixListener) -> Self {
813 impl FromFd for std::os::unix::net::UnixListener {
821 impl From<OwnedFd> for std::os::unix::net::UnixListener {
829 impl AsFd for std::os::unix::net::UnixDatagram {
837 impl IntoFd for std::os::unix::net::UnixDatagram {
845 impl From<std::os::unix::net::UnixDatagram> for OwnedFd {
847 fn from(owned: std::os::unix::net::UnixDatagram) -> Self {
853 impl FromFd for std::os::unix::net::UnixDatagram {
861 impl From<OwnedFd> for std::os::unix::net::UnixDatagram {
869 impl<T> AsHandle for std::thread::JoinHandle<T> {
877 impl<T> IntoHandle for std::thread::JoinHandle<T> {
885 impl<T> From<std::thread::JoinHandle<T>> for OwnedHandle {
887 fn from(owned: std::thread::JoinHandle<T>) -> Self {