pub enum JvmOption {
Verbose(JvmVerboseOption),
SystemProperty(String, String),
CheckedJni,
Unknown(String),
}Expand description
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 Eq for JvmOption
impl StructuralPartialEq for JvmOption
Auto Trait Implementations§
impl Freeze for JvmOption
impl RefUnwindSafe for JvmOption
impl Send for JvmOption
impl Sync for JvmOption
impl Unpin for JvmOption
impl UnwindSafe for JvmOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more