pub trait IntoControlFlow: Sized {
type Value: SyscallSafe;
// Required method
fn into_control_flow(self) -> ControlFlow<Self::Value>;
}Expand description
The helper trait used by Syscall to convert kernel results with execution errors into
results that can be handled by the wasm vm. See the documentation on Syscall for details.
Required Associated Types§
type Value: SyscallSafe
Required Methods§
fn into_control_flow(self) -> ControlFlow<Self::Value>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.