pub struct BuildLocks { /* private fields */ }Expand description
Locks held for as long as this value lives. Dropping it closes the descriptors, which is what releases them.
Implementations§
Source§impl BuildLocks
impl BuildLocks
Sourcepub fn held(&self) -> impl ExactSizeIterator<Item = &Path>
pub fn held(&self) -> impl ExactSizeIterator<Item = &Path>
The lock files being held. Empty means none were found — a target directory nothing has built in yet, a Cargo that has moved them, or a platform without the call. It does not mean the tree is quiet.
Auto Trait Implementations§
impl Freeze for BuildLocks
impl RefUnwindSafe for BuildLocks
impl Send for BuildLocks
impl Sync for BuildLocks
impl Unpin for BuildLocks
impl UnsafeUnpin for BuildLocks
impl UnwindSafe for BuildLocks
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