Type Alias JResult

Source
pub type JResult<T, E = JException> = Result<T, E>;

Aliased Type§

enum JResult<T, E = JException> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Trait Implementations§

Source§

impl<'local, T, E: Error + 'static> JavaCatch<'local, T> for JResult<T, E>

Source§

fn j_catch(self, env: &mut JNIEnv<'local>) -> JResult<T>