#[repr(C)]pub struct Fd(/* private fields */);Expand description
A file descriptor number.
As in POSIX, 0, 1, and 2 are stdin, stdout, and stderr, respectively.
File descriptors are not guaranteed to be contiguous or allocated in ascending order.
Information about a file descriptor may be obtained through fd_prestat_get.
Trait Implementations§
impl Copy for Fd
impl Eq for Fd
impl StructuralPartialEq for Fd
Auto Trait Implementations§
impl Freeze for Fd
impl RefUnwindSafe for Fd
impl Send for Fd
impl Sync for Fd
impl Unpin for Fd
impl UnwindSafe for Fd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more