Struct sozu_command_lib::state::ConfigState [−][src]
pub struct ConfigState {
pub applications: BTreeMap<AppId, Application>,
pub backends: BTreeMap<AppId, Vec<Backend>>,
pub http_listeners: HashMap<SocketAddr, (HttpListener, bool)>,
pub https_listeners: HashMap<SocketAddr, (HttpsListener, bool)>,
pub tcp_listeners: HashMap<SocketAddr, (TcpListener, bool)>,
pub http_fronts: HashMap<AppId, Vec<HttpFront>>,
pub https_fronts: HashMap<AppId, Vec<HttpFront>>,
pub tcp_fronts: HashMap<AppId, Vec<TcpFront>>,
pub certificates: HashMap<SocketAddr, HashMap<CertFingerprint, (CertificateAndKey, Vec<String>)>>,
pub http_addresses: Vec<SocketAddr>,
pub https_addresses: Vec<SocketAddr>,
}Fields
applications: BTreeMap<AppId, Application>backends: BTreeMap<AppId, Vec<Backend>>http_listeners: HashMap<SocketAddr, (HttpListener, bool)>the bool indicates if it is active or not
https_listeners: HashMap<SocketAddr, (HttpsListener, bool)>tcp_listeners: HashMap<SocketAddr, (TcpListener, bool)>http_fronts: HashMap<AppId, Vec<HttpFront>>https_fronts: HashMap<AppId, Vec<HttpFront>>tcp_fronts: HashMap<AppId, Vec<TcpFront>>certificates: HashMap<SocketAddr, HashMap<CertFingerprint, (CertificateAndKey, Vec<String>)>>http_addresses: Vec<SocketAddr>https_addresses: Vec<SocketAddr>Implementations
returns true if the order modified something
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ConfigStateimpl Send for ConfigStateimpl Sync for ConfigStateimpl Unpin for ConfigStateimpl UnwindSafe for ConfigStateBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self