[]Struct jni_android_sys::java::lang::System

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

public final class System

Required feature: "java-lang-System"

Methods

impl System

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

setIn

Required features: "java-io-InputStream"

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

setOut

Required features: "java-io-PrintStream"

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

setErr

Required features: "java-io-PrintStream"

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

console

Required features: "java-io-Console"

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

inheritedChannel

Required features: "java-nio-channels-Channel"

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

setSecurityManager

Required features: "java-lang-SecurityManager"

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

getSecurityManager

Required features: "java-lang-SecurityManager"

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

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

pub fn arraycopy<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Object>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Object>>,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

arraycopy

Required features: "java-lang-Object"

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

identityHashCode

Required features: "java-lang-Object"

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

getProperties

Required features: "java-util-Properties"

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

lineSeparator

Required features: "java-lang-String"

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

setProperties

Required features: "java-util-Properties"

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

getProperty

Required features: "java-lang-String"

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

getProperty

Required features: "java-lang-String"

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

setProperty

Required features: "java-lang-String"

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

clearProperty

Required features: "java-lang-String"

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

getenv

Required features: "java-lang-String"

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

getenv

Required features: "java-util-Map"

pub fn exit<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

pub fn runFinalizersOnExit<'env>(
    __jni_env: &'env Env,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

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

load

Required features: "java-lang-String"

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

loadLibrary

Required features: "java-lang-String"

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

mapLibraryName

Required features: "java-lang-String"

pub fn err<'env>(env: &'env Env) -> Option<Local<'env, PrintStream>>[src]

get public static final err

Required feature: "java-io-PrintStream"

pub fn in<'env>(env: &'env Env) -> Option<Local<'env, InputStream>>[src]

get public static final in

Required feature: "java-io-InputStream"

pub fn out<'env>(env: &'env Env) -> Option<Local<'env, PrintStream>>[src]

get public static final out

Required feature: "java-io-PrintStream"

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 System

impl AsValidJObjectAndEnv for System

impl Deref for System

type Target = Object

The resulting type after dereferencing.

impl JniType for System

Auto Trait Implementations

impl RefUnwindSafe for System

impl !Send for System

impl !Sync for System

impl Unpin for System

impl UnwindSafe for System

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.