Trait rustix::fd::FromRawFd

source ·
pub trait FromRawFd {
    // Required method
    unsafe fn from_raw_fd(raw_fd: RawFd) -> Self;
}
Expand description

A version of FromRawFd for use with Winsock2 API.

Required Methods§

source

unsafe fn from_raw_fd(raw_fd: RawFd) -> Self

A version of from_raw_fd for use with Winsock2 API.

Safety

See the safety requirements for from_raw_fd.

Object Safety§

This trait is not object safe.

Implementors§