[]Struct jni_android_sys::java::sql::DataTruncation

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

public class DataTruncation

Required feature: "java-sql-DataTruncation"

Methods

impl DataTruncation

pub fn new_int_boolean_boolean_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: bool,
    arg2: bool,
    arg3: i32,
    arg4: i32
) -> Result<Local<'env, DataTruncation>, Local<'env, Throwable>>
[src]

pub fn new_int_boolean_boolean_int_int_Throwable<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: bool,
    arg2: bool,
    arg3: i32,
    arg4: i32,
    arg5: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, DataTruncation>, Local<'env, Throwable>>
[src]

DataTruncation

Required features: "java-lang-Throwable"

pub fn getIndex<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getParameter<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn getRead<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn getDataSize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getTransferSize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

Methods from Deref<Target = SQLWarning>

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"

Trait Implementations

impl AsJValue for DataTruncation

impl AsValidJObjectAndEnv for DataTruncation

impl Deref for DataTruncation

type Target = SQLWarning

The resulting type after dereferencing.

impl JniType for DataTruncation

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.