[]Struct jni_android_sys::android::graphics::ImageDecoder_DecodeException

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

public final class ImageDecoder.DecodeException

Required feature: "android-graphics-ImageDecoder_DecodeException"

Methods

impl ImageDecoder_DecodeException

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

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

getSource

Required features: "android-graphics-ImageDecoder_Source"

pub const SOURCE_EXCEPTION: i32[src]

public static final SOURCE_EXCEPTION

pub const SOURCE_INCOMPLETE: i32[src]

public static final SOURCE_INCOMPLETE

pub const SOURCE_MALFORMED_DATA: i32[src]

public static final SOURCE_MALFORMED_DATA

Methods from Deref<Target = IOException>

Trait Implementations

impl AsJValue for ImageDecoder_DecodeException

impl AsValidJObjectAndEnv for ImageDecoder_DecodeException

impl Deref for ImageDecoder_DecodeException

type Target = IOException

The resulting type after dereferencing.

impl JniType for ImageDecoder_DecodeException

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.