[]Struct jni_android_sys::android::system::ErrnoException

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

public final class ErrnoException

Required feature: "android-system-ErrnoException"

Methods

impl ErrnoException

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

ErrnoException

Required features: "java-lang-String"

pub fn new_String_int_Throwable<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, ErrnoException>, Local<'env, Throwable>>
[src]

ErrnoException

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

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

getMessage

Required features: "java-lang-String"

pub fn errno<'env>(&'env self) -> i32[src]

get public final errno

Methods from Deref<Target = Exception>

Trait Implementations

impl AsJValue for ErrnoException

impl AsValidJObjectAndEnv for ErrnoException

impl Deref for ErrnoException

type Target = Exception

The resulting type after dereferencing.

impl JniType for ErrnoException

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.