pub struct StreamEndpointConfig {
pub tls: bool,
pub proxy_protocol: bool,
pub session_timeout: Option<String>,
pub health_check: Option<StreamHealthCheck>,
}Expand description
Stream (L4) proxy configuration for TCP/UDP endpoints
Fields§
§tls: boolEnable TLS termination for TCP (auto-provision cert)
proxy_protocol: boolEnable PROXY protocol for passing client IP
session_timeout: Option<String>Custom session timeout for UDP (default: 60s) Format: duration string like “60s”, “5m”
health_check: Option<StreamHealthCheck>Health check configuration for L4
Trait Implementations§
Source§impl Clone for StreamEndpointConfig
impl Clone for StreamEndpointConfig
Source§fn clone(&self) -> StreamEndpointConfig
fn clone(&self) -> StreamEndpointConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamEndpointConfig
impl Debug for StreamEndpointConfig
Source§impl Default for StreamEndpointConfig
impl Default for StreamEndpointConfig
Source§fn default() -> StreamEndpointConfig
fn default() -> StreamEndpointConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamEndpointConfig
impl<'de> Deserialize<'de> for StreamEndpointConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StreamEndpointConfig
impl PartialEq for StreamEndpointConfig
Source§impl Serialize for StreamEndpointConfig
impl Serialize for StreamEndpointConfig
impl Eq for StreamEndpointConfig
impl StructuralPartialEq for StreamEndpointConfig
Auto Trait Implementations§
impl Freeze for StreamEndpointConfig
impl RefUnwindSafe for StreamEndpointConfig
impl Send for StreamEndpointConfig
impl Sync for StreamEndpointConfig
impl Unpin for StreamEndpointConfig
impl UnsafeUnpin for StreamEndpointConfig
impl UnwindSafe for StreamEndpointConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.