pub struct Globals {
Show 19 fields pub tls_cert_path: Option<PathBuf>, pub tls_cert_key_path: Option<PathBuf>, pub listen_address: SocketAddr, pub local_bind_address: SocketAddr, pub server_address: SocketAddr, pub path: String, pub max_clients: usize, pub timeout: Duration, pub clients_count: ClientsCount, pub max_concurrent_streams: u32, pub min_ttl: u32, pub max_ttl: u32, pub err_ttl: u32, pub keepalive: bool, pub disable_post: bool, pub allow_odoh_post: bool, pub odoh_configs_path: String, pub odoh_rotator: Arc<ODoHRotator>, pub runtime_handle: Handle,
}

Fields

tls_cert_path: Option<PathBuf>tls_cert_key_path: Option<PathBuf>listen_address: SocketAddrlocal_bind_address: SocketAddrserver_address: SocketAddrpath: Stringmax_clients: usizetimeout: Durationclients_count: ClientsCountmax_concurrent_streams: u32min_ttl: u32max_ttl: u32err_ttl: u32keepalive: booldisable_post: boolallow_odoh_post: boolodoh_configs_path: Stringodoh_rotator: Arc<ODoHRotator>runtime_handle: Handle

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more