http-type 4.55.3

A comprehensive Rust library providing essential types for HTTP operations. Includes core HTTP abstractions (request/response, methods, status codes, versions), content types, cookies, WebSocket support, and thread-safe concurrent types (ArcMutex, ArcRwLock). Also provides convenient Option-wrapped primitive types for flexible HTTP handling.
Documentation
1
2
3
4
5
6
use crate::*;

/// A type alias for a reference-counted, read-write locked value.
///
/// This alias simplifies the use of `Rc<RwLock<T>>`, providing a convenient way to manage shared mutable data across multiple owners.
pub type RcRwLock<T> = Rc<RwLock<T>>;