[]Struct jni_android_sys::android::net::IpSecAlgorithm

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

public final class IpSecAlgorithm

Required feature: "android-net-IpSecAlgorithm"

Methods

impl IpSecAlgorithm

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

IpSecAlgorithm

Required features: "java-lang-String"

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

IpSecAlgorithm

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

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

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

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

pub const AUTH_CRYPT_AES_GCM: &'static str[src]

public static final AUTH_CRYPT_AES_GCM

pub const AUTH_HMAC_MD5: &'static str[src]

public static final AUTH_HMAC_MD5

pub const AUTH_HMAC_SHA1: &'static str[src]

public static final AUTH_HMAC_SHA1

pub const AUTH_HMAC_SHA256: &'static str[src]

public static final AUTH_HMAC_SHA256

pub const AUTH_HMAC_SHA384: &'static str[src]

public static final AUTH_HMAC_SHA384

pub const AUTH_HMAC_SHA512: &'static str[src]

public static final AUTH_HMAC_SHA512

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const CRYPT_AES_CBC: &'static str[src]

public static final CRYPT_AES_CBC

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 IpSecAlgorithm

impl AsRef<Parcelable> for IpSecAlgorithm

impl AsValidJObjectAndEnv for IpSecAlgorithm

impl Deref for IpSecAlgorithm

type Target = Object

The resulting type after dereferencing.

impl JniType for IpSecAlgorithm

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.