[−][src]Trait intercom_common::returnhandlers::ReturnHandler
Defines return handler for handling various different return type schemes.
Required methods
fn type_system(&self) -> ModelTypeSystem
Returns the current type system. Used internally by the trait.
fn rust_ty(&self) -> Type
The return type of the original Rust method.
Provided methods
fn com_ty(&self) -> Type
The return type for COM implementation.
fn com_to_rust_return(&self, _result: &Ident) -> TokenStream
Gets the return statement for converting the COM result into Rust return.
fn rust_to_com_return(&self, _result: &Ident) -> TokenStream
Gets the return statement for converting the Rust result into COM outputs.
fn com_out_args(&self) -> Vec<ComArg>
Gets the COM out arguments that result from the Rust return type.