pub struct SingleplexLease<R: Send> { /* private fields */ }Expand description
Exclusive non-cloneable resource lease. Release only after proving that the whole operation is synchronized and reusable, including both HTTP directions.
Implementations§
Trait Implementations§
Source§impl<R: Send> Deref for SingleplexLease<R>
impl<R: Send> Deref for SingleplexLease<R>
Source§impl<R: Send> DerefMut for SingleplexLease<R>
impl<R: Send> DerefMut for SingleplexLease<R>
Source§impl<R: Send> Drop for SingleplexLease<R>
impl<R: Send> Drop for SingleplexLease<R>
Auto Trait Implementations§
impl<R> Freeze for SingleplexLease<R>
impl<R> RefUnwindSafe for SingleplexLease<R>
impl<R> Send for SingleplexLease<R>
impl<R> Sync for SingleplexLease<R>
impl<R> Unpin for SingleplexLease<R>
impl<R> UnsafeUnpin for SingleplexLease<R>
impl<R> UnwindSafe for SingleplexLease<R>
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