pub type NSTDOptionalThreadResult = NSTDOptional<NSTDThreadResult>;
Available on crate feature thread only.
Expand description

Returned from nstd_thread_join, contains the thread function’s return value on success.

Aliased Type§

enum NSTDOptionalThreadResult {
    None,
    Some(NSTDOptional<NSTDHeapPtr<'static>>),
}

Variants§

§

None

The uninitialized variant.

§

Some(NSTDOptional<NSTDHeapPtr<'static>>)

The initialized variant.