pub struct LockGuard { /* private fields */ }Implementations§
Source§impl LockGuard
impl LockGuard
pub fn assert_owned(&self) -> Result<(), StateError>
pub fn release(self) -> Result<(), StateError>
Trait Implementations§
Auto Trait Implementations§
impl Forget for LockGuard
impl Freeze for LockGuard
impl RefUnwindSafe for LockGuard
impl Send for LockGuard
impl Sync for LockGuard
impl Unpin for LockGuard
impl UnsafeUnpin for LockGuard
impl UnwindSafe for LockGuard
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