pub struct JMonitorUsage<'a> {
pub owner: JThreadID<'a>,
pub entry_count: u32,
pub waiters: Vec<JThreadID<'a>>,
pub notify_waiters: Vec<JThreadID<'a>>,
/* private fields */
}
Fields§
§owner: JThreadID<'a>
§entry_count: u32
§waiters: Vec<JThreadID<'a>>
§notify_waiters: Vec<JThreadID<'a>>
Implementations§
Source§impl<'a> JMonitorUsage<'a>
impl<'a> JMonitorUsage<'a>
pub fn new<'b: 'a>(usage: jvmtiMonitorUsage, jvmti: &'b JVMTIEnv<'a>) -> Self
Trait Implementations§
Source§impl<'a> Clone for JMonitorUsage<'a>
impl<'a> Clone for JMonitorUsage<'a>
Source§fn clone(&self) -> JMonitorUsage<'a>
fn clone(&self) -> JMonitorUsage<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for JMonitorUsage<'a>
impl<'a> Debug for JMonitorUsage<'a>
Auto Trait Implementations§
impl<'a> Freeze for JMonitorUsage<'a>
impl<'a> RefUnwindSafe for JMonitorUsage<'a>
impl<'a> !Send for JMonitorUsage<'a>
impl<'a> !Sync for JMonitorUsage<'a>
impl<'a> Unpin for JMonitorUsage<'a>
impl<'a> UnwindSafe for JMonitorUsage<'a>
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