[−]Struct jni_android_sys::java::io::WriteAbortedException
public class WriteAbortedException
Required feature: "java-io-WriteAbortedException"
Methods
impl WriteAbortedException
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Exception>>
) -> Result<Local<'env, WriteAbortedException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Exception>>
) -> Result<Local<'env, WriteAbortedException>, Local<'env, Throwable>>
Required features: "java-lang-Exception", "java-lang-String"
pub fn getMessage<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getCause<'env>(
&'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn detail<'env>(&'env self) -> Option<Local<'env, Exception>>
[src]
get public detail
Required feature: "java-lang-Exception"
pub fn set_detail<'env, 'obj>(
&'env self,
value: impl Into<Option<&'obj Exception>>
)
[src]
&'env self,
value: impl Into<Option<&'obj Exception>>
)
set public detail
Required feature: "java-lang-Exception"
Trait Implementations
impl AsJValue for WriteAbortedException
impl AsValidJObjectAndEnv for WriteAbortedException
impl Deref for WriteAbortedException
type Target = ObjectStreamException
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for WriteAbortedException
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for WriteAbortedException
impl !Send for WriteAbortedException
impl !Sync for WriteAbortedException
impl Unpin for WriteAbortedException
impl UnwindSafe for WriteAbortedException
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>,