[]Struct jni_android_sys::android::net::http::SslError

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

public class SslError

Required feature: "android-net-http-SslError"

Methods

impl SslError

pub fn new_int_SslCertificate<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env SslCertificate>>
) -> Result<Local<'env, SslError>, Local<'env, Throwable>>
[src]

Deprecated

SslError

Required features: "android-net-http-SslCertificate"

pub fn new_int_X509Certificate<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env X509Certificate>>
) -> Result<Local<'env, SslError>, Local<'env, Throwable>>
[src]

Deprecated

SslError

Required features: "java-security-cert-X509Certificate"

pub fn new_int_SslCertificate_String<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env SslCertificate>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, SslError>, Local<'env, Throwable>>
[src]

SslError

Required features: "android-net-http-SslCertificate", "java-lang-String"

pub fn new_int_X509Certificate_String<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env X509Certificate>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, SslError>, Local<'env, Throwable>>
[src]

SslError

Required features: "java-lang-String", "java-security-cert-X509Certificate"

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

getCertificate

Required features: "android-net-http-SslCertificate"

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

getUrl

Required features: "java-lang-String"

pub fn addError<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn hasError<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

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

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

toString

Required features: "java-lang-String"

pub const SSL_DATE_INVALID: i32[src]

public static final SSL_DATE_INVALID

pub const SSL_EXPIRED: i32[src]

public static final SSL_EXPIRED

pub const SSL_IDMISMATCH: i32[src]

public static final SSL_IDMISMATCH

pub const SSL_INVALID: i32[src]

public static final SSL_INVALID

pub const SSL_MAX_ERROR: i32[src]

Deprecated

public static final SSL_MAX_ERROR

pub const SSL_NOTYETVALID: i32[src]

public static final SSL_NOTYETVALID

pub const SSL_UNTRUSTED: i32[src]

public static final SSL_UNTRUSTED

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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

equals

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"

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

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

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

Trait Implementations

impl AsJValue for SslError

impl AsValidJObjectAndEnv for SslError

impl Deref for SslError

type Target = Object

The resulting type after dereferencing.

impl JniType for SslError

Auto Trait Implementations

impl RefUnwindSafe for SslError

impl !Send for SslError

impl !Sync for SslError

impl Unpin for SslError

impl UnwindSafe for SslError

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.