pub struct Globals {Show 22 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 enable_ecs: bool,
pub ecs_prefix_v4: u8,
pub ecs_prefix_v6: u8,
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: SocketAddr§local_bind_address: SocketAddr§server_address: SocketAddr§path: String§max_clients: usize§timeout: Duration§clients_count: ClientsCount§max_concurrent_streams: u32§min_ttl: u32§max_ttl: u32§err_ttl: u32§keepalive: bool§disable_post: bool§allow_odoh_post: bool§enable_ecs: bool§ecs_prefix_v4: u8§ecs_prefix_v6: u8§odoh_configs_path: String§odoh_rotator: Arc<ODoHRotator>§runtime_handle: HandleTrait Implementations§
Auto Trait Implementations§
impl Freeze for Globals
impl RefUnwindSafe for Globals
impl Send for Globals
impl Sync for Globals
impl Unpin for Globals
impl UnwindSafe for Globals
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