pub struct SetLease { /* private fields */ }Expand description
Proof that a set is borrowed. Its Drop is half of the return condition:
the set cannot re-idle until this is gone and every job has finished.
The borrower holds it for the connection’s whole life — the PVA server moves it into the connection job on the set’s own worker, and a pooled client holds it through the two returned byte adapters — so the set stays out of the idle pool for exactly as long as the connection lasts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetLease
impl RefUnwindSafe for SetLease
impl Send for SetLease
impl Sync for SetLease
impl Unpin for SetLease
impl UnsafeUnpin for SetLease
impl UnwindSafe for SetLease
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