[−]Struct jni_android_sys::android::graphics::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]
&'env self
) -> Result<Option<Local<'env, ImageDecoder_Source>>, Local<'env, Throwable>>
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
impl JniType for ImageDecoder_DecodeException
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ImageDecoder_DecodeException
impl !Send for ImageDecoder_DecodeException
impl !Sync for ImageDecoder_DecodeException
impl Unpin for ImageDecoder_DecodeException
impl UnwindSafe for ImageDecoder_DecodeException
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,