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§

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> IntoControlFlow for Result<T, ExecutionError>
where T: SyscallSafe,

Implementors§