pub struct PoolKey {
pub host: String,
pub port: u16,
pub is_https: bool,
pub fingerprint: FingerprintProfile,
pub pseudo_order: PseudoHeaderOrder,
}Expand description
Connection pool key identifying a unique host/port combination with fingerprint settings
Fields§
§host: String§port: u16§is_https: bool§fingerprint: FingerprintProfile§pseudo_order: PseudoHeaderOrderImplementations§
Source§impl PoolKey
impl PoolKey
Sourcepub fn new(
host: String,
port: u16,
is_https: bool,
fingerprint: FingerprintProfile,
pseudo_order: PseudoHeaderOrder,
) -> Self
pub fn new( host: String, port: u16, is_https: bool, fingerprint: FingerprintProfile, pseudo_order: PseudoHeaderOrder, ) -> Self
Create a new pool key
pub fn origin_key(&self) -> OriginKey
Trait Implementations§
impl Eq for PoolKey
impl StructuralPartialEq for PoolKey
Auto Trait Implementations§
impl Freeze for PoolKey
impl RefUnwindSafe for PoolKey
impl Send for PoolKey
impl Sync for PoolKey
impl Unpin for PoolKey
impl UnsafeUnpin for PoolKey
impl UnwindSafe for PoolKey
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