pub struct Configs {
pub grpc_server: Arc<ServerConfig>,
pub http_server: Arc<ServerConfig>,
pub grpc_client: Arc<ClientConfig>,
pub worker_client: Arc<ClientConfig>,
pub ui_server: Arc<ServerConfig>,
pub api_client: Arc<ClientConfig>,
}Expand description
The rustls configurations of a role, built from one set of files.
Fields§
§grpc_server: Arc<ServerConfig>The master’s gRPC server (ALPN h2).
http_server: Arc<ServerConfig>A worker’s log endpoint (ALPN http/1.1).
grpc_client: Arc<ClientConfig>A worker’s connection to the master (ALPN h2; the master’s name is the URL’s host).
worker_client: Arc<ClientConfig>The webserver’s connections to workers (ALPN http/1.1; the name checked is
[tls] worker_name).
ui_server: Arc<ServerConfig>The webserver’s UI port (ALPN http/1.1; the client’s certificate must name
[tls] ui_name).
api_client: Arc<ClientConfig>schedr ui‘s connections to webservers’ UI ports (ALPN http/1.1; the webserver’s
name is the URL’s host).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Configs
impl !UnwindSafe for Configs
impl Freeze for Configs
impl Send for Configs
impl Sync for Configs
impl Unpin for Configs
impl UnsafeUnpin for Configs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].