[]Struct jni_android_sys::javax::net::ssl::SSLServerSocketFactory

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

public class SSLServerSocketFactory

Required feature: "javax-net-ssl-SSLServerSocketFactory"

Methods

impl SSLServerSocketFactory

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

getDefault

Required features: "javax-net-ServerSocketFactory"

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

getDefaultCipherSuites

Required features: "java-lang-String"

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

getSupportedCipherSuites

Required features: "java-lang-String"

Methods from Deref<Target = ServerSocketFactory>

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

createServerSocket

Required features: "java-net-ServerSocket"

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

createServerSocket

Required features: "java-net-ServerSocket"

pub fn createServerSocket_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<Option<Local<'env, ServerSocket>>, Local<'env, Throwable>>
[src]

createServerSocket

Required features: "java-net-ServerSocket"

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

createServerSocket

Required features: "java-net-InetAddress", "java-net-ServerSocket"

Trait Implementations

impl AsJValue for SSLServerSocketFactory

impl AsValidJObjectAndEnv for SSLServerSocketFactory

impl Deref for SSLServerSocketFactory

type Target = ServerSocketFactory

The resulting type after dereferencing.

impl JniType for SSLServerSocketFactory

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.