pub struct SessionReservation { /* private fields */ }Expand description
Exclusive ownership of one session’s on-disk state for the lifetime of a run. The operating-system file lock is released when this value is dropped, including when the owning process is terminated.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SessionReservation
impl Freeze for SessionReservationwhere
I32NotAllOnes: Freeze,
impl Move for SessionReservation
impl RefUnwindSafe for SessionReservationwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for SessionReservationwhere
I32NotAllOnes: Send,
impl Sync for SessionReservationwhere
I32NotAllOnes: Sync,
impl Unpin for SessionReservationwhere
I32NotAllOnes: Unpin,
impl UnsafeUnpin for SessionReservationwhere
I32NotAllOnes: UnsafeUnpin,
impl UnwindSafe for SessionReservationwhere
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