[]Struct jni_android_sys::android::app::admin::DnsEvent

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

public final class DnsEvent

Required feature: "android-app-admin-DnsEvent"

Methods

impl DnsEvent

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

getHostname

Required features: "java-lang-String"

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

getInetAddresses

Required features: "java-util-List"

pub fn getTotalResolvedAddressCount<'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 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 CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

Methods from Deref<Target = NetworkEvent>

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

getPackageName

Required features: "java-lang-String"

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

pub fn getId<'env>(&'env self) -> Result<i64, 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"

Trait Implementations

impl AsJValue for DnsEvent

impl AsRef<Parcelable> for DnsEvent

impl AsValidJObjectAndEnv for DnsEvent

impl Deref for DnsEvent

type Target = NetworkEvent

The resulting type after dereferencing.

impl JniType for DnsEvent

Auto Trait Implementations

impl RefUnwindSafe for DnsEvent

impl !Send for DnsEvent

impl !Sync for DnsEvent

impl Unpin for DnsEvent

impl UnwindSafe for DnsEvent

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.