Struct irq_safety::RwLockIrqSafeReadGuard
source · pub struct RwLockIrqSafeReadGuard<'a, T: 'a + ?Sized> { /* private fields */ }
Expand description
A guard to which the protected data can be read
When the guard falls out of scope it will decrement the read count, potentially releasing the lock and potentially re-enabling interrupts.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T: ?Sized> RefUnwindSafe for RwLockIrqSafeReadGuard<'a, T>where T: RefUnwindSafe,
impl<'a, T> !Send for RwLockIrqSafeReadGuard<'a, T>
impl<'a, T: ?Sized> Sync for RwLockIrqSafeReadGuard<'a, T>where T: Sync,
impl<'a, T: ?Sized> Unpin for RwLockIrqSafeReadGuard<'a, T>
impl<'a, T: ?Sized> UnwindSafe for RwLockIrqSafeReadGuard<'a, T>where T: RefUnwindSafe,
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