[]Struct jni_android_sys::java::lang::EnumConstantNotPresentException

#[repr(transparent)]
pub struct EnumConstantNotPresentException(_);

public class EnumConstantNotPresentException

Required feature: "java-lang-EnumConstantNotPresentException"

Methods

impl EnumConstantNotPresentException

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Class>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, EnumConstantNotPresentException>, Local<'env, Throwable>>
[src]

EnumConstantNotPresentException

Required features: "java-lang-Class", "java-lang-String"

pub fn enumType<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

enumType

Required features: "java-lang-Class"

pub fn constantName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

constantName

Required features: "java-lang-String"

Methods from Deref<Target = RuntimeException>

Trait Implementations

impl AsJValue for EnumConstantNotPresentException

impl AsValidJObjectAndEnv for EnumConstantNotPresentException

impl Deref for EnumConstantNotPresentException

type Target = RuntimeException

The resulting type after dereferencing.

impl JniType for EnumConstantNotPresentException

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.