Type Alias nstd_sys::io::NSTDIOStringResult

source ·
pub type NSTDIOStringResult<'a> = NSTDResult<NSTDString<'a>, NSTDIOError>;
Available on crate feature io only.
Expand description

A result type that yields a UTF-8 string on success and an I/O operation error code on failure.

Aliased Type§

enum NSTDIOStringResult<'a> {
    Err(NSTDIOError),
    Ok(NSTDString<'a>),
}

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(NSTDString<'a>)

The success variant.