[]Struct jni_android_sys::java::net::InetAddress

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

public class InetAddress

Required feature: "java-net-InetAddress"

Methods

impl InetAddress

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

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

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

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

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

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

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

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

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

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

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

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

isReachable

Required features: "java-net-NetworkInterface"

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

getHostName

Required features: "java-lang-String"

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

getCanonicalHostName

Required features: "java-lang-String"

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

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

getHostAddress

Required features: "java-lang-String"

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 getByAddress_String_byte_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ByteArray>>
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
[src]

getByAddress

Required features: "java-lang-String", "java-net-InetAddress"

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

getByName

Required features: "java-lang-String", "java-net-InetAddress"

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

getAllByName

Required features: "java-lang-String", "java-net-InetAddress"

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

getLoopbackAddress

Required features: "java-net-InetAddress"

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

getByAddress

Required features: "java-net-InetAddress"

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

getLocalHost

Required features: "java-net-InetAddress"

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 InetAddress

impl AsRef<Serializable> for InetAddress

impl AsValidJObjectAndEnv for InetAddress

impl Deref for InetAddress

type Target = Object

The resulting type after dereferencing.

impl JniType for InetAddress

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.