[−]Struct jni_android_sys::java::sql::SQLTransientException
public class SQLTransientException
Required feature: "java-sql-SQLTransientException"
Methods
impl SQLTransientException
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_String_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_String_String_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_Throwable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn new_String_Throwable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-lang-Throwable"
pub fn new_String_String_Throwable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-lang-Throwable"
pub fn new_String_String_int_Throwable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLTransientException>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-lang-Throwable"
Methods from Deref<Target = SQLException>
pub fn getSQLState<'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 getErrorCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getNextException<'env>(
&'env self
) -> Result<Option<Local<'env, SQLException>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SQLException>>, Local<'env, Throwable>>
Required features: "java-sql-SQLException"
pub fn setNextException<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLException>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLException>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-SQLException"
pub fn iterator<'env>(
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Iterator>>, Local<'env, Throwable>>
Required features: "java-util-Iterator"
Trait Implementations
impl AsJValue for SQLTransientException
impl AsValidJObjectAndEnv for SQLTransientException
impl Deref for SQLTransientException
impl JniType for SQLTransientException
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SQLTransientException
impl !Send for SQLTransientException
impl !Sync for SQLTransientException
impl Unpin for SQLTransientException
impl UnwindSafe for SQLTransientException
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>,