http-type 3.72.0

A library providing essential types for HTTP, including request bodies, response headers, and other core HTTP abstractions.
Documentation
1
2
3
4
5
use crate::*;

pub fn box_rwlock<T>(data: T) -> BoxRwLock<T> {
    Box::new(RwLock::new(data))
}