pub struct PendingMetaGuard { /* private fields */ }Expand description
Backpressure guard for in-flight metadata-only operations (rm, cmp).
Held across a spawned task to bound the live task count under
recursive walk operations that don’t hold open file descriptors.
Kept distinct from OpenFileGuard so that paths which compose
these operations (e.g. copy_file → rm for an overwrite of a
directory destination) don’t deadlock against a saturated
OPEN_FILES_LIMIT.
Auto Trait Implementations§
impl Freeze for PendingMetaGuard
impl !RefUnwindSafe for PendingMetaGuard
impl Send for PendingMetaGuard
impl Sync for PendingMetaGuard
impl Unpin for PendingMetaGuard
impl UnsafeUnpin for PendingMetaGuard
impl !UnwindSafe for PendingMetaGuard
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