pub struct ProxyProtocolConnectOptions {
pub connection_timeout: Option<Duration>,
pub tcp_recv_buf: Option<usize>,
pub tcp_fast_open: bool,
}Expand description
What pingora’s own connector takes from the peer for the socket it opens. A connector that stands in for it is given the address and nothing else, so these come with it.
Fields§
§connection_timeout: Option<Duration>How long connecting and sending the header may take.
tcp_recv_buf: Option<usize>§tcp_fast_open: boolTrait Implementations§
Source§impl Clone for ProxyProtocolConnectOptions
impl Clone for ProxyProtocolConnectOptions
impl Copy for ProxyProtocolConnectOptions
Source§impl Debug for ProxyProtocolConnectOptions
impl Debug for ProxyProtocolConnectOptions
impl Eq for ProxyProtocolConnectOptions
impl StructuralPartialEq for ProxyProtocolConnectOptions
Auto Trait Implementations§
impl Freeze for ProxyProtocolConnectOptions
impl RefUnwindSafe for ProxyProtocolConnectOptions
impl Send for ProxyProtocolConnectOptions
impl Sync for ProxyProtocolConnectOptions
impl Unpin for ProxyProtocolConnectOptions
impl UnsafeUnpin for ProxyProtocolConnectOptions
impl UnwindSafe for ProxyProtocolConnectOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.