pub struct Guarded<T, L> { /* private fields */ }Expand description
RAII wrapper for generic locked data
Implementations§
Auto Trait Implementations§
impl<T, L> Freeze for Guarded<T, L>
impl<T, L> RefUnwindSafe for Guarded<T, L>where
T: RefUnwindSafe,
L: RefUnwindSafe,
impl<T, L> Send for Guarded<T, L>
impl<T, L> Sync for Guarded<T, L>
impl<T, L> Unpin for Guarded<T, L>
impl<T, L> UnwindSafe for Guarded<T, L>where
T: UnwindSafe,
L: UnwindSafe,
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