[]Struct jni_android_sys::java::sql::SQLWarning

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

public class SQLWarning

Required feature: "java-sql-SQLWarning"

Methods

impl SQLWarning

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, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

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, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

Required features: "java-lang-String"

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

Required features: "java-lang-String"

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, SQLWarning>, Local<'env, Throwable>>
[src]

pub fn new_Throwable<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

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, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

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, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

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, SQLWarning>, Local<'env, Throwable>>
[src]

SQLWarning

Required features: "java-lang-String", "java-lang-Throwable"

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

getNextWarning

Required features: "java-sql-SQLWarning"

pub fn setNextWarning<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SQLWarning>>
) -> Result<(), Local<'env, Throwable>>
[src]

setNextWarning

Required features: "java-sql-SQLWarning"

Methods from Deref<Target = SQLException>

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

getSQLState

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]

getNextException

Required features: "java-sql-SQLException"

pub fn setNextException<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SQLException>>
) -> Result<(), Local<'env, Throwable>>
[src]

setNextException

Required features: "java-sql-SQLException"

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

iterator

Required features: "java-util-Iterator"

Trait Implementations

impl AsJValue for SQLWarning

impl AsValidJObjectAndEnv for SQLWarning

impl Deref for SQLWarning

type Target = SQLException

The resulting type after dereferencing.

impl JniType for SQLWarning

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.