pub struct StringInterner { /* private fields */ }Expand description
String interner for HTTP header names/values
Reuses common strings across requests to reduce allocations.
Thread-safe via RwLock (read-heavy workload).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StringInterner
impl RefUnwindSafe for StringInterner
impl Send for StringInterner
impl Sync for StringInterner
impl Unpin for StringInterner
impl UnsafeUnpin for StringInterner
impl UnwindSafe for StringInterner
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