Struct sozu_command_lib::config::FileAppFrontendConfig
source · 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>Implementations§
source§impl FileAppFrontendConfig
impl FileAppFrontendConfig
pub fn to_tcp_front(&self) -> Result<TcpFrontendConfig, String>
pub fn to_http_front(&self, app_id: &str) -> Result<HttpFrontendConfig, String>
Trait Implementations§
source§impl Clone for FileAppFrontendConfig
impl Clone for FileAppFrontendConfig
source§fn clone(&self) -> FileAppFrontendConfig
fn clone(&self) -> FileAppFrontendConfig
Returns a copy of the value. Read more
1.0.0 · 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 FileAppFrontendConfig
impl Debug for FileAppFrontendConfig
source§impl<'de> Deserialize<'de> for FileAppFrontendConfig
impl<'de> Deserialize<'de> for FileAppFrontendConfig
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