Struct jni::MonitorGuard
source · [−]pub struct MonitorGuard<'a> { /* private fields */ }
Expand description
Guard for a lock on a java object. This gets returned from the lock_obj
method.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MonitorGuard<'a>
impl<'a> !Send for MonitorGuard<'a>
impl<'a> !Sync for MonitorGuard<'a>
impl<'a> Unpin for MonitorGuard<'a>
impl<'a> UnwindSafe for MonitorGuard<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more