[−][src]Trait sendfd::Sendable
A trait to express the ability to inspect the raw file descriptor behind an object.
Unlike std::os::unix::io::AsRawFd
this also supports the identity conversion (RawFd
to
RawFd
).
Required methods
fn as_sendable_fd(&self) -> RawFd
Inspect 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.