Struct JEventManager

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

Implementations§

Source§

impl<'a> JEventManager<'a>

Source

pub fn new<'b: 'a>(capabilities: &'b mut JCapabilities<'a>) -> JEventManager<'a>

Source

pub fn get_capabilities(&mut self) -> &mut JCapabilities<'a>

Source

pub fn apply(&mut self, env: &JVMTIEnv<'a>)

Source

pub fn vm_init_enabled(&mut self)

Source

pub fn vm_death_enabled(&mut self)

Source

pub fn thread_start_enabled(&mut self)

Source

pub fn thread_end_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn class_file_load_hook_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn class_load_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn class_prepare_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn vm_start_enabled(&mut self)

Source

pub fn exception_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn exception_catch_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn single_step_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn frame_pop_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn breakpoint_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn field_access_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn field_modification_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn method_entry_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn method_exit_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn native_method_bind_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn compiled_method_load_enabled(&mut self)

Source

pub fn compiled_method_unload_enabled(&mut self)

Source

pub fn dynamic_code_generated_enabled(&mut self)

Source

pub fn data_dump_request_enabled(&mut self)

Source

pub fn monitor_wait_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn monitor_waited_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn monitor_contended_enter_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn monitor_contended_entered_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn resource_exhausted_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn garbage_collection_start_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn garbage_collection_finish_enabled( &mut self, event_thread: Option<JThreadID<'a>>, )

Source

pub fn object_free_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Source

pub fn vm_object_alloc_enabled(&mut self, event_thread: Option<JThreadID<'a>>)

Auto Trait Implementations§

§

impl<'a> Freeze for JEventManager<'a>

§

impl<'a> RefUnwindSafe for JEventManager<'a>

§

impl<'a> !Send for JEventManager<'a>

§

impl<'a> !Sync for JEventManager<'a>

§

impl<'a> Unpin for JEventManager<'a>

§

impl<'a> !UnwindSafe for JEventManager<'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<'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, 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.