wtx 0.44.3

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
use crate::misc::{Lease, LeaseMut};

/// Type that indicates the usage of the `quick-protobuf` dependency.
#[derive(Debug, Default)]
pub struct QuickProtobuf;

impl Lease<QuickProtobuf> for QuickProtobuf {
  #[inline]
  fn lease(&self) -> &QuickProtobuf {
    self
  }
}

impl LeaseMut<QuickProtobuf> for QuickProtobuf {
  #[inline]
  fn lease_mut(&mut self) -> &mut QuickProtobuf {
    self
  }
}