pub struct SessionLock { /* private fields */ }Expand description
A held session lock. Dropping it releases the lock (the OS does the same if the process dies, so a crash cannot leave a session permanently locked).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SessionLock
impl Freeze for SessionLock
impl Move for SessionLock
impl RefUnwindSafe for SessionLockwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for SessionLock
impl Sync for SessionLock
impl Unpin for SessionLock
impl UnsafeUnpin for SessionLock
impl UnwindSafe for SessionLockwhere
RawVecInner: UnwindSafe,
I32NotAllOnes: UnwindSafe,
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