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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more