Enum rust_jni::JvmOption [−][src]
pub enum JvmOption { Verbose(JvmVerboseOption), SystemProperty(String, String), CheckedJni, Unknown(String), }
Options for starting a Java VM.
Variants
Verbose(JvmVerboseOption)
Verbose option.
Passed to the JVM as -verbose:${verbose_option}
.
SystemProperty(String, String)
System property option string. Must have a key and a value.
Is formatted as -D{key}=${value}
.
CheckedJni
Enable checking JNI calls.
Passed to the JVM as -check:jni
.
Unknown(String)
Unknown option. Needed for forward compability and to set custom options. The string value is passed to the JVM without change.
Trait Implementations
impl Debug for JvmOption
[src]
impl Debug for JvmOption
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for JvmOption
[src]
impl Clone for JvmOption
fn clone(&self) -> JvmOption
[src]
fn clone(&self) -> JvmOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for JvmOption
[src]
impl PartialEq for JvmOption
fn eq(&self, other: &JvmOption) -> bool
[src]
fn eq(&self, other: &JvmOption) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &JvmOption) -> bool
[src]
fn ne(&self, other: &JvmOption) -> bool
This method tests for !=
.
impl Eq for JvmOption
[src]
impl Eq for JvmOption