[]Struct jni_android_sys::javax::sql::ConnectionEvent

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

public class ConnectionEvent

Required feature: "javax-sql-ConnectionEvent"

Methods

impl ConnectionEvent

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

ConnectionEvent

Required features: "javax-sql-PooledConnection"

pub fn new_PooledConnection_SQLException<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env PooledConnection>>,
    arg1: impl Into<Option<&'env SQLException>>
) -> Result<Local<'env, ConnectionEvent>, Local<'env, Throwable>>
[src]

ConnectionEvent

Required features: "java-sql-SQLException", "javax-sql-PooledConnection"

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

getSQLException

Required features: "java-sql-SQLException"

Methods from Deref<Target = EventObject>

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

getSource

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for ConnectionEvent

impl AsValidJObjectAndEnv for ConnectionEvent

impl Deref for ConnectionEvent

type Target = EventObject

The resulting type after dereferencing.

impl JniType for ConnectionEvent

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.