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 Freeze for HttpListener
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