#[repr(C)]pub struct fd(pub u32);Expand description
A file descriptor number.
Unlike on POSIX-compliant systems, none of the file descriptor numbers are reserved for a purpose (e.g., stdin, stdout, stderr). Operating systems are not required to allocate new file descriptors in ascending order.
Tuple Fields§
§0: u32Trait 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