pub struct TcpUpstreamEntry {
pub version: String,
pub scheme: String,
pub root_ca: String,
pub verify_mode: String,
pub alpn: Vec<String>,
pub dns: String,
pub fingerprint_id: String,
}Fields§
§version: StringNegotiated upstream version: "auto", "h1", "h2", "h3".
scheme: String"http" (cleartext) or "https" (TLS).
root_ca: StringTrust-root posture: "system", "bundle", "insecure-skip",
or "none" (cleartext).
verify_mode: StringVerify mode: "full", "skip", or "none" (cleartext).
alpn: Vec<String>§dns: String"system" (read /etc/resolv.conf) or "custom" (operator-
pinned nameservers).
fingerprint_id: String16-char hex identifier for pool.drain. Stable for the
process lifetime as long as the underlying fingerprint contents
are unchanged.
Trait Implementations§
Source§impl Clone for TcpUpstreamEntry
impl Clone for TcpUpstreamEntry
Source§fn clone(&self) -> TcpUpstreamEntry
fn clone(&self) -> TcpUpstreamEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TcpUpstreamEntry
impl Debug for TcpUpstreamEntry
Source§impl<'de> Deserialize<'de> for TcpUpstreamEntry
impl<'de> Deserialize<'de> for TcpUpstreamEntry
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 TcpUpstreamEntry
impl PartialEq for TcpUpstreamEntry
Source§fn eq(&self, other: &TcpUpstreamEntry) -> bool
fn eq(&self, other: &TcpUpstreamEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TcpUpstreamEntry
impl Serialize for TcpUpstreamEntry
impl Eq for TcpUpstreamEntry
impl StructuralPartialEq for TcpUpstreamEntry
Auto Trait Implementations§
impl Freeze for TcpUpstreamEntry
impl RefUnwindSafe for TcpUpstreamEntry
impl Send for TcpUpstreamEntry
impl Sync for TcpUpstreamEntry
impl Unpin for TcpUpstreamEntry
impl UnsafeUnpin for TcpUpstreamEntry
impl UnwindSafe for TcpUpstreamEntry
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