pub struct TlsConfig {
pub cert: Vec<u8>,
pub key: Vec<u8>,
}Expand description
Blocks the calling thread, accepts incoming HTTP requests on
127.0.0.1:port, and dispatches each through the named Lex
stage. Each request gets a fresh Vm; the program and policy
are shared.
Handler signature in Lex (by convention):
fn
Fields§
§cert: Vec<u8>§key: Vec<u8>Auto Trait Implementations§
impl Freeze for TlsConfig
impl RefUnwindSafe for TlsConfig
impl Send for TlsConfig
impl Sync for TlsConfig
impl Unpin for TlsConfig
impl UnsafeUnpin for TlsConfig
impl UnwindSafe for TlsConfig
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