pub struct MixedMode { /* private fields */ }Expand description
Allow both proxied and direct connections
Implementations§
Trait Implementations§
Source§impl ConnPolicy for MixedMode
impl ConnPolicy for MixedMode
fn evaluate(&self, peer_addr: SocketAddr) -> PolicyDecision
Source§impl From<TrustedProxies> for MixedMode
impl From<TrustedProxies> for MixedMode
Source§fn from(trusted: TrustedProxies) -> Self
fn from(trusted: TrustedProxies) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MixedMode
impl RefUnwindSafe for MixedMode
impl Send for MixedMode
impl Sync for MixedMode
impl Unpin for MixedMode
impl UnsafeUnpin for MixedMode
impl UnwindSafe for MixedMode
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