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>,
pub tls_versions: Vec<TlsVersion>,
}
Fields
address: SocketAddr
hostname: Option<String>
path_begin: Option<String>
certificate: Option<String>
key: Option<String>
certificate_chain: Option<String>
tls_versions: Vec<TlsVersion>
Implementations
sourceimpl 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
sourceimpl Clone for FileAppFrontendConfig
impl Clone for FileAppFrontendConfig
sourcefn clone(&self) -> FileAppFrontendConfig
fn clone(&self) -> FileAppFrontendConfig
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 FileAppFrontendConfig
impl Debug for FileAppFrontendConfig
sourceimpl<'de> Deserialize<'de> for FileAppFrontendConfig
impl<'de> Deserialize<'de> for FileAppFrontendConfig
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 FileAppFrontendConfig
impl Hash for FileAppFrontendConfig
sourceimpl PartialEq<FileAppFrontendConfig> for FileAppFrontendConfig
impl PartialEq<FileAppFrontendConfig> for FileAppFrontendConfig
sourcefn eq(&self, other: &FileAppFrontendConfig) -> bool
fn eq(&self, other: &FileAppFrontendConfig) -> bool
sourceimpl Serialize for FileAppFrontendConfig
impl Serialize for FileAppFrontendConfig
impl Eq for FileAppFrontendConfig
impl StructuralEq for FileAppFrontendConfig
impl StructuralPartialEq for FileAppFrontendConfig
Auto Trait Implementations
impl RefUnwindSafe for FileAppFrontendConfig
impl Send for FileAppFrontendConfig
impl Sync for FileAppFrontendConfig
impl Unpin for FileAppFrontendConfig
impl UnwindSafe for FileAppFrontendConfig
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