Struct postgresfixture::lock::LockedFileShared
source · pub struct LockedFileShared(/* private fields */);
Implementations§
pub fn try_lock_exclusive(self) -> Result<Either<Self, LockedFileExclusive>>
pub fn lock_exclusive(self) -> Result<LockedFileExclusive>
pub fn try_unlock(self) -> Result<Either<Self, UnlockedFile>>
pub fn unlock(self) -> Result<UnlockedFile>
Trait Implementations§
Auto Trait Implementations§
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