pub fn validate_thread_mode(mode: ThreadMode, quiet: bool) -> ThreadModeExpand description
Validate the thread mode and emit warnings if necessary.
In v0.3.2, single-threaded mode is not supported. If the user
specifies --thread-mode single, a warning is emitted.
§Arguments
mode- The thread mode specified by the user.quiet- If true, suppress warning messages.
§Returns
The validated thread mode (always Multi in v0.3.2).