pub enum HttpAcceptor {
Plain,
}Expand description
How accepted TCP connections are wrapped: plaintext (loopback dev) or TLS
(the production control plane). The TLS variant carries the [net::tls]
acceptor, which drives the handshake (and, under mTLS, verifies the client
certificate) at accept time.
Variants§
Plain
Plaintext HTTP — loopback dev / tests only.
Auto Trait Implementations§
impl Freeze for HttpAcceptor
impl RefUnwindSafe for HttpAcceptor
impl Send for HttpAcceptor
impl Sync for HttpAcceptor
impl Unpin for HttpAcceptor
impl UnsafeUnpin for HttpAcceptor
impl UnwindSafe for HttpAcceptor
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