NSTDThreadCountResult

Type Alias NSTDThreadCountResult 

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

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

Variants§

§

Err(NSTDIOError)

The error variant.

§

Ok(usize)

The success variant.