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§
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
.