[][src]Type Definition linux::kty::c_int

type c_int = i32;

Trait Implementations

impl Read for c_int[src]

fn read_all(&mut self, buf: &mut [d8]) -> Result<usize>[src]

Tries to read bytes until the buffer is buffer. Read more

impl Write for c_int[src]

fn write_all(&mut self, buf: &[u8]) -> Result<usize>[src]

Tries to write the complete buffer to the byte-stream. Read more

fn write_str(&mut self, buf: &str) -> Result<usize>[src]

Writes a string to the byte-stream. Read more

fn write_fmt_linux(&mut self, fmt: Arguments) -> Result<()>[src]

impl FdContainer for c_int[src]

Important traits for FdIo
fn as_fdio(&self) -> FdIo[src]

Borrows the file descriptor as an FdIo.

fn is_close_on_exec(&self) -> Result<bool>[src]

Retrieves the status of the close on exec flag. Read more

fn set_close_on_exec(&self, val: bool) -> Result[src]

Enables or disables the close on exec flag. Read more

fn description_flags(&self) -> Result<DescriptionFlags>[src]

Retrieves the file description flags. Read more

fn set_description_flags(&self, flags: DescriptionFlags) -> Result[src]

Sets the file description flags. Read more

fn duplicate(&self) -> Result<Self> where
    Self: Sized
[src]

Duplicates the file descriptor. Read more

fn duplicate_min(&self, min: c_int) -> Result<Self> where
    Self: Sized
[src]

Duplicates the file descriptor so that the duplicated one has a minimum value. Read more

fn duplicate_as(&self, new: c_int) -> Result<Self> where
    Self: Sized
[src]

Duplicates the file descriptor, replacing an existing one. Read more

impl From<Timer> for c_int[src]