Struct tinyhttp_internal::config::HttpListener
source · pub struct HttpListener {
pub config: Config,
pub pool: ThreadPool,
pub use_pool: bool,
pub ssl_acpt: Option<Arc<SslAcceptor>>,
/* private fields */
}
Fields§
§config: Config
§pool: ThreadPool
§use_pool: bool
§ssl_acpt: Option<Arc<SslAcceptor>>
Implementations§
source§impl HttpListener
impl HttpListener
Auto Trait Implementations§
impl !RefUnwindSafe for HttpListener
impl Send for HttpListener
impl Sync for HttpListener
impl Unpin for HttpListener
impl !UnwindSafe for HttpListener
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