NSTDIOBufferResult

Type Alias NSTDIOBufferResult 

Source
pub type NSTDIOBufferResult<'a> = NSTDResult<NSTDVec<'a>, NSTDIOError>;
Available on crate feature io only.
Expand description

A result type that yields an NSTDVec on success and an I/O operation error code on failure.

Aliased Type§

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

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(NSTDVec<'a>)

The success variant.