pub struct BackupLayoutGuard { /* private fields */ }Expand description
BackupLayoutGuard
Persistence-owned exclusive layout access, shared by backup, restore and prune. Its lock file lives outside the directory that prune removes.
Implementations§
Source§impl BackupLayoutGuard
impl BackupLayoutGuard
Sourcepub fn has_restore_references(&self) -> Result<bool, PersistenceError>
pub fn has_restore_references(&self) -> Result<bool, PersistenceError>
Report durable restore dependencies, including external or missing journals.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackupLayoutGuard
impl RefUnwindSafe for BackupLayoutGuard
impl Send for BackupLayoutGuard
impl Sync for BackupLayoutGuard
impl Unpin for BackupLayoutGuard
impl UnsafeUnpin for BackupLayoutGuard
impl UnwindSafe for BackupLayoutGuard
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