Skip to main content

FerriResultExt

Trait FerriResultExt 

Source
pub trait FerriResultExt<T> {
    // Required method
    fn into_js(self) -> Result<T>;
}
Expand description

Adapter: Result<T, FerriError> into rquickjs::Result<T>.

Required Methods§

Source

fn into_js(self) -> Result<T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> FerriResultExt<T> for Result<T, FerriError>

Source§

fn into_js(self) -> Result<T>

Implementors§