pub struct AllocationGuard { /* private fields */ }Expand description
The lock is held for as long as this value lives.
Opaque on purpose: what is being held differs between the in-process and the file-backed implementation, and a caller that could see which one it has would eventually branch on it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AllocationGuard
impl !UnwindSafe for AllocationGuard
impl Freeze for AllocationGuard
impl Send for AllocationGuard
impl Sync for AllocationGuard
impl Unpin for AllocationGuard
impl UnsafeUnpin for AllocationGuard
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