pub(crate) trait IntoInner<Inner> {
// Required method
fn into_inner(self) -> Inner;
}Expand description
A trait for extracting representations from std types.
Required Methods§
fn into_inner(self) -> Inner
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl IntoInner<OwnedFd> for FileDesc
impl IntoInner<Vec<u8>> for Buf
impl IntoInner<FileDesc> for PipeReader
impl IntoInner<FileDesc> for PipeWriter
impl IntoInner<FileDesc> for ChildStderr
impl IntoInner<FileDesc> for ChildStdin
impl IntoInner<FileDesc> for ChildStdout
impl IntoInner<FileDesc> for std::sys::fs::unix::File
impl IntoInner<FileDesc> for Socket
impl IntoInner<FileDesc> for std::sys::pal::unix::linux::pidfd::PidFd
Available on Linux only.
impl IntoInner<Dir> for Dir
impl IntoInner<File> for std::fs::File
impl IntoInner<TcpListener> for TcpListener
impl IntoInner<TcpStream> for TcpStream
impl IntoInner<UdpSocket> for UdpSocket
impl IntoInner<Buf> for OsString
impl IntoInner<PidFd> for std::os::linux::process::PidFd
Available on (Linux) and not ((Fortanix and SGX, or WebAssembly and non-WASI)) only.