NSTDIOResult

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

#[repr(C, u8)]
pub enum NSTDIOResult { Err(NSTDIOError), Ok(usize), }

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(usize)

The success variant.

Trait Implementations§