Type Alias nstd_sys::io::NSTDIOResult

source ·
pub type NSTDIOResult = NSTDResult<NSTDUInt, NSTDIOError>;
Available on crate feature io only.
Expand description

A result type that yields an NSTDUInt representing the number of bytes read or written by an I/O operation on success and an I/O operation error code on failure.

Aliased Type§

enum NSTDIOResult {
    Err(NSTDIOError),
    Ok(usize),
}

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(usize)

The success variant.

Trait Implementations§