[]Struct jni_android_sys::android::icu::text::StringPrepParseException

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

public class StringPrepParseException

Required feature: "android-icu-text-StringPrepParseException"

Methods

impl StringPrepParseException

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

StringPrepParseException

Required features: "java-lang-String"

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

StringPrepParseException

Required features: "java-lang-String"

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

StringPrepParseException

Required features: "java-lang-String"

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

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

Deprecated

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

toString

Required features: "java-lang-String"

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

pub const ACE_PREFIX_ERROR: i32[src]

public static final ACE_PREFIX_ERROR

pub const BUFFER_OVERFLOW_ERROR: i32[src]

public static final BUFFER_OVERFLOW_ERROR

pub const CHECK_BIDI_ERROR: i32[src]

public static final CHECK_BIDI_ERROR

pub const DOMAIN_NAME_TOO_LONG_ERROR: i32[src]

public static final DOMAIN_NAME_TOO_LONG_ERROR

pub const ILLEGAL_CHAR_FOUND: i32[src]

public static final ILLEGAL_CHAR_FOUND

pub const INVALID_CHAR_FOUND: i32[src]

public static final INVALID_CHAR_FOUND

pub const LABEL_TOO_LONG_ERROR: i32[src]

public static final LABEL_TOO_LONG_ERROR

pub const PROHIBITED_ERROR: i32[src]

public static final PROHIBITED_ERROR

pub const STD3_ASCII_RULES_ERROR: i32[src]

public static final STD3_ASCII_RULES_ERROR

pub const UNASSIGNED_ERROR: i32[src]

public static final UNASSIGNED_ERROR

pub const VERIFICATION_ERROR: i32[src]

public static final VERIFICATION_ERROR

pub const ZERO_LENGTH_LABEL: i32[src]

public static final ZERO_LENGTH_LABEL

Methods from Deref<Target = ParseException>

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

Trait Implementations

impl AsJValue for StringPrepParseException

impl AsValidJObjectAndEnv for StringPrepParseException

impl Deref for StringPrepParseException

type Target = ParseException

The resulting type after dereferencing.

impl JniType for StringPrepParseException

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.