Lines Matching refs:Rust
1 {{#title Result<T> — Rust ♡ C++}}
8 handle the translation of those to Rust Result\<T\> using your own shims for
16 If a panic occurs in *any* `extern "Rust"` function, regardless of whether it is
18 calls Rust's `std::process::abort`.
20 ## Returning Result from Rust to C++
22 An `extern "Rust"` function returning a Result turns into a `throw` in C++ if
23 the Rust side produces an error.
27 FFI. The Rust *implementation* (outside of the bridge module) may pick any error
35 extern "Rust" {
56 gives the error message according to the Rust error's std::fmt::Display impl.
78 ## Returning Result from C++ to Rust
81 converts the exception into an Err for Rust.
131 you'd like for the Rust error to have.