Struct JCapabilities

Source
pub struct JCapabilities<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> JCapabilities<'a>

Source

pub fn new() -> JCapabilities<'a>

Source

pub fn merge(other: jvmtiCapabilities) -> JCapabilities<'a>

Source

pub fn can_tag_objects(&mut self)

Source

pub fn can_generate_field_modification_events(&mut self)

Source

pub fn can_generate_field_access_events(&mut self)

Source

pub fn can_get_bytecodes(&mut self)

Source

pub fn can_get_synthetic_attribute(&mut self)

Source

pub fn can_get_owned_monitor_info(&mut self)

Source

pub fn can_get_current_contended_monitor(&mut self)

Source

pub fn can_get_monitor_info(&mut self)

Source

pub fn can_pop_frame(&mut self)

Source

pub fn can_redefine_classes(&mut self)

Source

pub fn can_signal_thread(&mut self)

Source

pub fn can_get_source_file_name(&mut self)

Source

pub fn can_get_line_numbers(&mut self)

Source

pub fn can_get_source_debug_extension(&mut self)

Source

pub fn can_access_local_variables(&mut self)

Source

pub fn can_maintain_original_method_order(&mut self)

Source

pub fn can_generate_single_step_events(&mut self)

Source

pub fn can_generate_exception_events(&mut self)

Source

pub fn can_generate_frame_pop_events(&mut self)

Source

pub fn can_generate_breakpoint_events(&mut self)

Source

pub fn can_suspend(&mut self)

Source

pub fn can_redefine_any_class(&mut self)

Source

pub fn can_get_current_thread_cpu_time(&mut self)

Source

pub fn can_get_thread_cpu_time(&mut self)

Source

pub fn can_generate_method_entry_events(&mut self)

Source

pub fn can_generate_method_exit_events(&mut self)

Source

pub fn can_generate_all_class_hook_events(&mut self)

Source

pub fn can_generate_compiled_method_load_events(&mut self)

Source

pub fn can_generate_monitor_events(&mut self)

Source

pub fn can_generate_vm_object_alloc_events(&mut self)

Source

pub fn can_generate_native_method_bind_events(&mut self)

Source

pub fn can_generate_garbage_collection_events(&mut self)

Source

pub fn can_generate_object_free_events(&mut self)

Source

pub fn can_force_early_return(&mut self)

Source

pub fn can_get_owned_monitor_stack_depth_info(&mut self)

Source

pub fn can_get_constant_pool(&mut self)

Source

pub fn can_set_native_method_prefix(&mut self)

Source

pub fn can_retransform_classes(&mut self)

Source

pub fn can_retransform_any_class(&mut self)

Source

pub fn can_generate_resource_exhaustion_heap_events(&mut self)

Source

pub fn can_generate_resource_exhaustion_threads_events(&mut self)

Trait Implementations§

Source§

impl<'a> Clone for JCapabilities<'a>

Source§

fn clone(&self) -> JCapabilities<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for JCapabilities<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> From<JCapabilities<'a>> for jvmtiCapabilities

Source§

fn from(value: JCapabilities<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> Copy for JCapabilities<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for JCapabilities<'a>

§

impl<'a> RefUnwindSafe for JCapabilities<'a>

§

impl<'a> Send for JCapabilities<'a>

§

impl<'a> Sync for JCapabilities<'a>

§

impl<'a> Unpin for JCapabilities<'a>

§

impl<'a> UnwindSafe for JCapabilities<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<'a, T> Desc<'a, T> for T

Source§

fn lookup(self, _: &JNIEnv<'a>) -> Result<T, Error>

Different

Source§

impl<'a, T> Desc<'a, T> for T

Source§

fn lookup(self, _: &JNIEnv<'a>) -> Result<T, Error>

Look up the concrete type from the JVM.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.