pub struct HttpcCfg {
pub der_ca: Vec<Vec<u8>>,
pub pem_ca: Vec<Vec<u8>>,
pub cache_buffers: usize,
}
Expand description
Top level configuration for mio_http.
Fields
der_ca: Vec<Vec<u8>>
Extra root certificates in der format.
pem_ca: Vec<Vec<u8>>
Extra root certificates in pem format.
cache_buffers: usize
Default: 8
Max 8K buffers to keep cached for subsequent requests. Every request requires 2.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpcCfg
impl Send for HttpcCfg
impl Sync for HttpcCfg
impl Unpin for HttpcCfg
impl UnwindSafe for HttpcCfg
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