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§
Trait Implementations§
Source§impl From<NSTDResult<usize, NSTDUnixIOError>> for NSTDIOResult
impl From<NSTDResult<usize, NSTDUnixIOError>> for NSTDIOResult
Source§fn from(value: NSTDUnixIOResult) -> Self
fn from(value: NSTDUnixIOResult) -> Self
Converts an NSTDUnixIOResult into an NSTDIOResult.