Struct pgdo::lock::LockedFileExclusive
source · pub struct LockedFileExclusive(/* private fields */);Implementations§
source§impl LockedFileExclusive
impl LockedFileExclusive
pub fn try_unlock(self) -> Result<Either<Self, UnlockedFile>>
pub fn unlock(self) -> Result<UnlockedFile>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LockedFileExclusive
impl Send for LockedFileExclusive
impl Sync for LockedFileExclusive
impl Unpin for LockedFileExclusive
impl UnwindSafe for LockedFileExclusive
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