Struct rust_jni::AttachArguments[][src]

pub struct AttachArguments<'a> { /* fields omitted */ }

Arguments for attaching a thread to the JVM.

JNI documentation

Example

use rust_jni::{AttachArguments, InitArguments, JniVersion};

let options = InitArguments::get_default(JniVersion::V8).unwrap();
let attach_arguments = AttachArguments::new(&options);

assert_eq!(attach_arguments.version(), JniVersion::V8);

Methods

impl<'a> AttachArguments<'a>
[src]

Create attach arguments with the default thread name.

JNI documentation

Create attach arguments with a specified thread name.

JNI documentation

Return the JNI version these arguments will request when attaching a thread to a Java VM.

JNI documentation

Trait Implementations

impl<'a> Debug for AttachArguments<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for AttachArguments<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Eq for AttachArguments<'a>
[src]

Auto Trait Implementations

impl<'a> Send for AttachArguments<'a>

impl<'a> Sync for AttachArguments<'a>