Struct sozu_command_lib::proxy::HttpsListener
source · [−]pub struct HttpsListener {Show 17 fields
pub front: SocketAddr,
pub public_address: Option<SocketAddr>,
pub answer_404: String,
pub answer_503: String,
pub versions: Vec<TlsVersion>,
pub cipher_list: String,
pub rustls_cipher_list: Vec<String>,
pub tls_provider: TlsProvider,
pub expect_proxy: bool,
pub sticky_name: String,
pub certificate: Option<String>,
pub certificate_chain: Vec<String>,
pub key: Option<String>,
pub front_timeout: u32,
pub back_timeout: u32,
pub connect_timeout: u32,
pub request_timeout: u32,
}
Fields
front: SocketAddr
public_address: Option<SocketAddr>
answer_404: String
answer_503: String
versions: Vec<TlsVersion>
cipher_list: String
rustls_cipher_list: Vec<String>
tls_provider: TlsProvider
expect_proxy: bool
sticky_name: String
certificate: Option<String>
certificate_chain: Vec<String>
key: Option<String>
front_timeout: u32
back_timeout: u32
connect_timeout: u32
request_timeout: u32
max time to send a complete request
Trait Implementations
sourceimpl Clone for HttpsListener
impl Clone for HttpsListener
sourcefn clone(&self) -> HttpsListener
fn clone(&self) -> HttpsListener
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HttpsListener
impl Debug for HttpsListener
sourceimpl Default for HttpsListener
impl Default for HttpsListener
sourcefn default() -> HttpsListener
fn default() -> HttpsListener
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HttpsListener
impl<'de> Deserialize<'de> for HttpsListener
sourcefn 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
sourceimpl Hash for HttpsListener
impl Hash for HttpsListener
sourceimpl PartialEq<HttpsListener> for HttpsListener
impl PartialEq<HttpsListener> for HttpsListener
sourcefn eq(&self, other: &HttpsListener) -> bool
fn eq(&self, other: &HttpsListener) -> bool
sourceimpl Serialize for HttpsListener
impl Serialize for HttpsListener
impl Eq for HttpsListener
impl StructuralEq for HttpsListener
impl StructuralPartialEq for HttpsListener
Auto Trait Implementations
impl RefUnwindSafe for HttpsListener
impl Send for HttpsListener
impl Sync for HttpsListener
impl Unpin for HttpsListener
impl UnwindSafe for HttpsListener
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more