[][src]Trait std::os::fortanix_sgx::io::AsRawFd

pub trait AsRawFd {
    fn as_raw_fd(&self) -> RawFd;
}
🔬 This is a nightly-only experimental API. (sgx_platform #56975)

A trait to extract the raw SGX file descriptor from an underlying object.

Required methods

fn as_raw_fd(&self) -> RawFd

🔬 This is a nightly-only experimental API. (sgx_platform #56975)

Extracts the raw file descriptor.

This method does not pass ownership of the raw file descriptor to the caller. The descriptor is only guaranteed to be valid while the original object has not yet been destroyed.

Loading content...

Implementors

impl AsRawFd for TcpListener[src]

impl AsRawFd for TcpStream[src]

Loading content...