pub struct NetworkingProfile {
pub profile: NetworkingProfileValues,
pub resolver: ResolverConfig,
pub net_v4_blacklist: Vec<CIpv4Net>,
}Fields§
§profile: NetworkingProfileValues§resolver: ResolverConfig§net_v4_blacklist: Vec<CIpv4Net>Implementations§
Source§impl NetworkingProfile
impl NetworkingProfile
pub fn resolve(self) -> Result<ResolvedNetworkingProfile>
pub fn resolve_custom_resolver( self, resolver: Box<dyn Resolver>, ) -> Result<ResolvedNetworkingProfile>
Trait Implementations§
Source§impl Clone for NetworkingProfile
impl Clone for NetworkingProfile
Source§fn clone(&self) -> NetworkingProfile
fn clone(&self) -> NetworkingProfile
Returns a duplicate of the value. Read more
1.0.0 · 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 NetworkingProfile
impl Debug for NetworkingProfile
Source§impl Default for NetworkingProfile
impl Default for NetworkingProfile
Source§fn default() -> NetworkingProfile
fn default() -> NetworkingProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkingProfile
impl<'de> Deserialize<'de> for NetworkingProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetworkingProfile
impl RefUnwindSafe for NetworkingProfile
impl Send for NetworkingProfile
impl Sync for NetworkingProfile
impl Unpin for NetworkingProfile
impl UnwindSafe for NetworkingProfile
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