pub(super) trait Poolable: Unpin + Send + Sized + 'static {
// Required methods
fn is_open(&self) -> bool;
fn reserve(self) -> Reservation<Self>;
fn can_share(&self) -> bool;
}
Required Methods§
fn is_open(&self) -> bool
sourcefn reserve(self) -> Reservation<Self>
fn reserve(self) -> Reservation<Self>
Reserve this connection.
Allows for HTTP/2 to return a shared reservation.
Object Safety§
This trait is not object safe.