Type Definition jlrs::error::JuliaResult [−][src]
Expand description
This type alias is used to encode the result of a function call: Ok
indicates the call was
successful and contains the function’s result, while Err
indicates an exception was thrown
and contains said exception.
Trait Implementations
impl<'scope, 'frame, 'data, 'inner> AsUnrooted<'scope, 'frame, 'data, 'inner> for JuliaResult<'frame, 'data>
impl<'scope, 'frame, 'data, 'inner> AsUnrooted<'scope, 'frame, 'data, 'inner> for JuliaResult<'frame, 'data>
type Unrooted = OutputResult<'scope, 'data, 'inner>
fn as_unrooted<F: Frame<'frame>>(
self,
output: OutputScope<'scope, 'frame, 'inner, F>
) -> Self::Unrooted
Convert self
to JlrsResult
by calling Base.showerror
if an exception has been
thrown. Read more