Enum kernel::executor::future::ControlFlow
source · pub enum ControlFlow {
Continue,
Yield,
Exit(usize),
}
Expand description
The ControlFlow
enum specifies the operation that the executor should execute on a thread
prior to returning to user space.
Variants§
Trait Implementations§
source§impl PartialEq<ControlFlow> for ControlFlow
impl PartialEq<ControlFlow> for ControlFlow
source§fn eq(&self, other: &ControlFlow) -> bool
fn eq(&self, other: &ControlFlow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.