[]Struct jni_android_sys::java::net::Inet6Address

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

public final class Inet6Address

Required feature: "java-net-Inet6Address"

Methods

impl Inet6Address

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

getByAddress

Required features: "java-lang-String", "java-net-Inet6Address", "java-net-NetworkInterface"

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

getByAddress

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

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 getAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

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

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

getScopedInterface

Required features: "java-net-NetworkInterface"

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 isIPv4CompatibleAddress<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Methods from Deref<Target = 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"

Trait Implementations

impl AsJValue for Inet6Address

impl AsValidJObjectAndEnv for Inet6Address

impl Deref for Inet6Address

type Target = InetAddress

The resulting type after dereferencing.

impl JniType for Inet6Address

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.