pub struct NetworkConfig {
pub http: HttpConfig,
pub qos: QosPolicy,
}Expand description
Resolved network policy shared by future HTTP clients and servers.
Fields§
§http: HttpConfig§qos: QosPolicyImplementations§
Source§impl NetworkConfig
impl NetworkConfig
Sourcepub fn from_overrides(
overrides: &NetworkEnvOverrides,
) -> Result<Self, NetworkConfigError>
pub fn from_overrides( overrides: &NetworkEnvOverrides, ) -> Result<Self, NetworkConfigError>
Resolves environment overrides into validated network configuration.
Trait Implementations§
Source§impl Clone for NetworkConfig
impl Clone for NetworkConfig
Source§fn clone(&self) -> NetworkConfig
fn clone(&self) -> NetworkConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkConfig
impl Debug for NetworkConfig
Source§impl PartialEq for NetworkConfig
impl PartialEq for NetworkConfig
Source§fn eq(&self, other: &NetworkConfig) -> bool
fn eq(&self, other: &NetworkConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NetworkConfig
impl StructuralPartialEq for NetworkConfig
Auto Trait Implementations§
impl Freeze for NetworkConfig
impl RefUnwindSafe for NetworkConfig
impl Send for NetworkConfig
impl Sync for NetworkConfig
impl Unpin for NetworkConfig
impl UnsafeUnpin for NetworkConfig
impl UnwindSafe for NetworkConfig
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