tvm_ffi::extra::structural_visit

Trait IntoWalkResult

Source
pub trait IntoWalkResult {
    // Required method
    fn into_walk_result(self) -> Result<WalkResult>;
}
Expand description

Convert either an infallible or fallible typed handler result.

This keeps simple handlers terse while allowing a handler to return tvm_ffi::Result<WalkResult> and use ?.

Required Methods§

Implementors§