pub(crate) struct ReactorLock<'a> {
reactor: &'a Reactor,
events: MutexGuard<'a, Events>,
}
Expand description
A lock on the reactor.
Fields§
§reactor: &'a Reactor
§events: MutexGuard<'a, Events>
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ReactorLock<'a>
impl<'a> RefUnwindSafe for ReactorLock<'a>
impl<'a> !Send for ReactorLock<'a>
impl<'a> !Sync for ReactorLock<'a>
impl<'a> Unpin for ReactorLock<'a>
impl<'a> UnwindSafe for ReactorLock<'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