[][src]Struct cloudabi::fd

#[repr(C)]
pub struct fd(pub u32);

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.

Trait Implementations

impl Clone for fd[src]

impl Copy for fd[src]

impl Debug for fd[src]

impl Eq for fd[src]

impl Hash for fd[src]

impl PartialEq<fd> for fd[src]

impl StructuralEq for fd[src]

impl StructuralPartialEq for fd[src]

Auto Trait Implementations

impl Send for fd

impl Sync for fd

impl Unpin for fd

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.