Type Alias tokio::runtime::scheduler::multi_thread::worker::RunResult

source ·
type RunResult = Result<Box<Core>, ()>;
Expand description

Running a task may consume the core. If the core is still available when running the task completes, it is returned. Otherwise, the worker will need to stop processing.

Aliased Type§

enum RunResult {
    Ok(Box<Core>),
    Err(()),
}

Variants§

§1.0.0

Ok(Box<Core>)

Contains the success value

§1.0.0

Err(())

Contains the error value