pub struct MigrationAuthoringLock<'a> { /* private fields */ }Expand description
Exclusive advisory lock shared by canonical migration publishers.
The lock file is opened relative to the retained directory and never follows a symbolic link. Holding this guard prevents cooperating migration authoring and adoption publishers from inspecting and publishing against different directory histories.
Auto Trait Implementations§
impl<'a> Freeze for MigrationAuthoringLock<'a>
impl<'a> RefUnwindSafe for MigrationAuthoringLock<'a>
impl<'a> Send for MigrationAuthoringLock<'a>
impl<'a> Sync for MigrationAuthoringLock<'a>
impl<'a> Unpin for MigrationAuthoringLock<'a>
impl<'a> UnsafeUnpin for MigrationAuthoringLock<'a>
impl<'a> UnwindSafe for MigrationAuthoringLock<'a>
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