[−]Struct jni_android_sys::android::os::strictmode::Violation
public class Violation
Required feature: "android-os-strictmode-Violation"
Methods from Deref<Target = Throwable>
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 getLocalizedMessage<'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 initCause<'env>(
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn toString<'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 printStackTrace<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn printStackTrace_PrintStream<'env>(
&'env self,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-PrintStream"
pub fn printStackTrace_PrintWriter<'env>(
&'env self,
arg0: impl Into<Option<&'env PrintWriter>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PrintWriter>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-PrintWriter"
pub fn fillInStackTrace<'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 getStackTrace<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<StackTraceElement, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<StackTraceElement, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-StackTraceElement"
pub fn setStackTrace<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<StackTraceElement, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<StackTraceElement, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-StackTraceElement"
pub fn addSuppressed<'env>(
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn getSuppressed<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Throwable, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Throwable, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-Throwable"
Trait Implementations
impl AsJValue for Violation
impl AsValidJObjectAndEnv for Violation
impl Deref for Violation
impl JniType for Violation
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Violation
impl !Send for Violation
impl !Sync for Violation
impl Unpin for Violation
impl UnwindSafe for Violation
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>,