pub struct RefGateGuard { /* private fields */ }Expand description
RAII lock guard serializing ref updates per repository across both threads
(via an Arc-backed slot map with zero Box::leak) and OS processes
(via sibling lockfile <common_dir>/arks-ref-gate.lock).
Auto Trait Implementations§
impl Forget for RefGateGuard
impl Freeze for RefGateGuardwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<RepoSlot> is !null: Freeze,
PhantomData<ArcInner<RepoSlot>>: Freeze,
impl Move for RefGateGuard
impl RefUnwindSafe for RefGateGuard
impl Send for RefGateGuard
impl Sync for RefGateGuard
impl Unpin for RefGateGuard
impl UnsafeUnpin for RefGateGuardwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<RepoSlot> is !null: UnsafeUnpin,
PhantomData<ArcInner<RepoSlot>>: UnsafeUnpin,
impl UnwindSafe for RefGateGuard
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