Struct sozu_command_lib::config::FileAppFrontendConfig [−][src]
pub struct FileAppFrontendConfig { pub address: SocketAddr, pub hostname: Option<String>, pub path_begin: Option<String>, pub certificate: Option<String>, pub key: Option<String>, pub certificate_chain: Option<String>, }
Fields
address: SocketAddr
hostname: Option<String>
path_begin: Option<String>
certificate: Option<String>
key: Option<String>
certificate_chain: Option<String>
Methods
impl FileAppFrontendConfig
[src]
impl FileAppFrontendConfig
pub fn to_tcp_front(&self, app_id: &str) -> Result<TcpFrontendConfig, String>
[src]
pub fn to_tcp_front(&self, app_id: &str) -> Result<TcpFrontendConfig, String>
pub fn to_http_front(&self, app_id: &str) -> Result<HttpFrontendConfig, String>
[src]
pub fn to_http_front(&self, app_id: &str) -> Result<HttpFrontendConfig, String>
Trait Implementations
impl Debug for FileAppFrontendConfig
[src]
impl Debug for FileAppFrontendConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for FileAppFrontendConfig
[src]
impl Clone for FileAppFrontendConfig
fn clone(&self) -> FileAppFrontendConfig
[src]
fn clone(&self) -> FileAppFrontendConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for FileAppFrontendConfig
[src]
impl PartialEq for FileAppFrontendConfig
fn eq(&self, other: &FileAppFrontendConfig) -> bool
[src]
fn eq(&self, other: &FileAppFrontendConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FileAppFrontendConfig) -> bool
[src]
fn ne(&self, other: &FileAppFrontendConfig) -> bool
This method tests for !=
.
impl Eq for FileAppFrontendConfig
[src]
impl Eq for FileAppFrontendConfig
impl Hash for FileAppFrontendConfig
[src]
impl Hash for FileAppFrontendConfig
Auto Trait Implementations
impl Send for FileAppFrontendConfig
impl Send for FileAppFrontendConfig
impl Sync for FileAppFrontendConfig
impl Sync for FileAppFrontendConfig