pub type NSTDThreadCountResult = NSTDResult<NSTDUInt, NSTDIOError>;
Available on crate feature thread only.
Expand description

Returned from nstd_thread_count, contains the number of threads detected on the system on success.

Aliased Type§

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

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(usize)

The success variant.