return_value

Function return_value 

Source
pub fn return_value<R>(return_flags: ReturnFlags, return_value: &R) -> !
where R: Encode,
Expand description

Returns the value back to the caller of the executed contract.

ยงNote

This function stops the execution of the contract immediately.