Trait argdata::ArgdataExt[][src]

pub trait ArgdataExt<'d> {
    fn read_int<T: TryFrom<IntValue<'d>>>(&self) -> Result<T, NotRead>;
fn read_fd(&self) -> Result<Fd, NotRead>;
fn read_str(&self) -> Result<&'d str, NotRead>; }

Extra methods for Argdata values.

Required Methods

Read an integer, and convert it to the requested type if it fits.

Read a file descriptor and convert it to an Fd.

Read a string, and check if it's valid UTF-8.

Implementors