Skip to main content

IntoHostReturn

Trait IntoHostReturn 

Source
pub trait IntoHostReturn: Return { }
Expand description

A complete return value accepted by Rustia’s built-in callback adapters.

() returns no results; tuples through eight elements return separate results and can mix owned data with live handles. Result reports a callback failure or converts its successful value by the same rules. This trait is sealed; custom owned results use IntoRustia and can be returned as a one-element tuple.

ⓘ
struct CustomReturn;
impl rustia::IntoHostReturn for CustomReturn {}

Implementors§

Source§

impl<T: Return> IntoHostReturn for T