NSTDIOStringResult

Type Alias 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§

#[repr(C, u8)]
pub enum NSTDIOStringResult<'a> { Err(NSTDIOError), Ok(NSTDString<'a>), }

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(NSTDString<'a>)

The success variant.