pub struct AcceptConn<T> {
pub auth_method: AuthMethod,
pub tls: T,
pub backend_config: Arc<Config>,
}Expand description
AcceptConn specifies how a connection should be proxied to a backend.
Fields§
§auth_method: AuthMethodHow to authenticate the client.
tls: TTLS configuration to use.
backend_config: Arc<Config>Backend configuration to use.
Auto Trait Implementations§
impl<T> Freeze for AcceptConn<T>where
T: Freeze,
impl<T> RefUnwindSafe for AcceptConn<T>where
T: RefUnwindSafe,
impl<T> Send for AcceptConn<T>where
T: Send,
impl<T> Sync for AcceptConn<T>where
T: Sync,
impl<T> Unpin for AcceptConn<T>where
T: Unpin,
impl<T> UnsafeUnpin for AcceptConn<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AcceptConn<T>where
T: UnwindSafe,
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