[−]Struct jni_android_sys::java::lang::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setOut<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-PrintStream"
pub fn setErr<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-PrintStream"
pub fn console<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, Console>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Console>>, Local<'env, Throwable>>
Required features: "java-io-Console"
pub fn inheritedChannel<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, Channel>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Channel>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SecurityManager>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-SecurityManager"
pub fn getSecurityManager<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, SecurityManager>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, SecurityManager>>, Local<'env, Throwable>>
Required features: "java-lang-SecurityManager"
pub fn currentTimeMillis<'env>(
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
pub fn nanoTime<'env>(
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i64, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getProperties<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, Properties>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Properties>>, Local<'env, Throwable>>
Required features: "java-util-Properties"
pub fn lineSeparator<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setProperties<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Properties>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Properties>>
) -> Result<(), Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getenv<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
Required features: "java-util-Map"
pub fn exit<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
__jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
pub fn runFinalizersOnExit<'env>(
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn load<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn loadLibrary<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'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"
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for System
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,