[−]Struct jni_android_sys::java::net::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]
__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>>
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]
__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>>
Required features: "java-lang-String", "java-net-Inet6Address"
pub fn isMulticastAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isAnyLocalAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isLoopbackAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isLinkLocalAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isSiteLocalAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, NetworkInterface>>, Local<'env, Throwable>>
Required features: "java-net-NetworkInterface"
pub fn getHostAddress<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn isIPv4CompatibleAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
Methods from Deref<Target = InetAddress>
pub fn isMulticastAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isAnyLocalAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isLoopbackAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isLinkLocalAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isSiteLocalAddress<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env NetworkInterface>>,
arg1: i32,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-net-NetworkInterface"
pub fn getHostName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getCanonicalHostName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getAddress<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn getHostAddress<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
Trait Implementations
impl AsJValue for Inet6Address
impl AsValidJObjectAndEnv for Inet6Address
impl Deref for Inet6Address
impl JniType for Inet6Address
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Inet6Address
impl !Send for Inet6Address
impl !Sync for Inet6Address
impl Unpin for Inet6Address
impl UnwindSafe for Inet6Address
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,