Skip to main content

Module raw

Module raw 

1.66.0 ยท Source
Available on Hermit or Motor OS or Trusty or Unix or WASI only.
Expand description

Raw Unix-like file descriptors.

Re-exportsยง

use crate::alloc::Allocator; ๐Ÿ”’
use crate::fs; ๐Ÿ”’ Non-Trusty
use crate::io; ๐Ÿ”’
use crate::macros::rustdoc_skip_body; ๐Ÿ”’
use crate::os::raw; ๐Ÿ”’ Non-Hermit and non-Motor OS
use crate::os::unix::io::OwnedFd; ๐Ÿ”’ Unix
use crate::sys::AsInner; ๐Ÿ”’ Non-Trusty
use crate::sys::FromInner; ๐Ÿ”’ Non-Trusty
use crate::sys::IntoInner; ๐Ÿ”’ Non-Trusty

Traitsยง

AsRawFd
A trait to extract the raw file descriptor from an underlying object.
FromRawFd
A trait to express the ability to construct an object from a raw file descriptor.
IntoRawFd
A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.

Type Aliasesยง

RawFdNon-Hermit and non-Motor OS
Raw file descriptors.