[]Struct jni_android_sys::java::time::format::DateTimeParseException

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

public class DateTimeParseException

Required feature: "java-time-format-DateTimeParseException"

Methods

impl DateTimeParseException

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

DateTimeParseException

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

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

DateTimeParseException

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

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

getParsedString

Required features: "java-lang-String"

pub fn getErrorIndex<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

Methods from Deref<Target = DateTimeException>

Trait Implementations

impl AsJValue for DateTimeParseException

impl AsValidJObjectAndEnv for DateTimeParseException

impl Deref for DateTimeParseException

type Target = DateTimeException

The resulting type after dereferencing.

impl JniType for DateTimeParseException

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.