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 SessionReservation
impl Move for SessionReservation
impl RefUnwindSafe for SessionReservation
impl Send for SessionReservation
impl Sync for SessionReservation
impl Unpin for SessionReservation
impl UnsafeUnpin for SessionReservation
impl UnwindSafe for SessionReservation
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