[]Struct jni_android_sys::java::net::SocketTimeoutException

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

public class SocketTimeoutException

Required feature: "java-net-SocketTimeoutException"

Methods

impl SocketTimeoutException

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

SocketTimeoutException

Required features: "java-lang-String"

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

Methods from Deref<Target = InterruptedIOException>

pub fn bytesTransferred<'env>(&'env self) -> i32[src]

get public bytesTransferred

pub fn set_bytesTransferred<'env>(&'env self, value: i32)[src]

set public bytesTransferred

Trait Implementations

impl AsJValue for SocketTimeoutException

impl AsValidJObjectAndEnv for SocketTimeoutException

impl Deref for SocketTimeoutException

type Target = InterruptedIOException

The resulting type after dereferencing.

impl JniType for SocketTimeoutException

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.