pub struct ProxyHopSpec {
pub protocols: Vec<ProtocolSpec>,
pub endpoint: EndpointSpec,
pub credentials: Option<CredentialSpec>,
pub rule: Option<String>,
pub local_bind: Option<String>,
pub tls: bool,
pub server_name: Option<String>,
pub insecure: bool,
pub plugins: Vec<String>,
pub auth_prefix: Option<String>,
}Expand description
Specification for a single proxy hop.
Fields§
§protocols: Vec<ProtocolSpec>Supported protocols for this hop.
endpoint: EndpointSpecEndpoint address.
credentials: Option<CredentialSpec>Optional credentials.
rule: Option<String>Optional routing rule.
local_bind: Option<String>Optional local bind address.
tls: boolWhether to wrap this hop in TLS.
server_name: Option<String>Optional SNI override for TLS (defaults to endpoint host).
insecure: boolExplicit certificate bypass for compatibility transports.
plugins: Vec<String>Ordered pproxy SSR plugin names.
auth_prefix: Option<String>Optional pproxy SSR user/auth prefix from the URI fragment.
Trait Implementations§
Source§impl Clone for ProxyHopSpec
impl Clone for ProxyHopSpec
Source§fn clone(&self) -> ProxyHopSpec
fn clone(&self) -> ProxyHopSpec
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 ProxyHopSpec
impl Debug for ProxyHopSpec
Source§impl<'de> Deserialize<'de> for ProxyHopSpec
impl<'de> Deserialize<'de> for ProxyHopSpec
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
impl Eq for ProxyHopSpec
Source§impl PartialEq for ProxyHopSpec
impl PartialEq for ProxyHopSpec
Source§impl Serialize for ProxyHopSpec
impl Serialize for ProxyHopSpec
impl StructuralPartialEq for ProxyHopSpec
Auto Trait Implementations§
impl Freeze for ProxyHopSpec
impl RefUnwindSafe for ProxyHopSpec
impl Send for ProxyHopSpec
impl Sync for ProxyHopSpec
impl Unpin for ProxyHopSpec
impl UnsafeUnpin for ProxyHopSpec
impl UnwindSafe for ProxyHopSpec
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