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: HandleTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Globals
impl Send for Globals
impl Sync for Globals
impl Unpin for Globals
impl !UnwindSafe for Globals
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