pub enum ProxyConfiguration {
AutodetectProxyConfiguration(AutodetectProxyConfiguration),
DirectProxyConfiguration(DirectProxyConfiguration),
ManualProxyConfiguration(ManualProxyConfiguration),
PacProxyConfiguration(PacProxyConfiguration),
SystemProxyConfiguration(SystemProxyConfiguration),
SocksProxyConfiguration(SocksProxyConfiguration),
EmptyProxyConfiguration {},
}Variants§
AutodetectProxyConfiguration(AutodetectProxyConfiguration)
DirectProxyConfiguration(DirectProxyConfiguration)
ManualProxyConfiguration(ManualProxyConfiguration)
PacProxyConfiguration(PacProxyConfiguration)
SystemProxyConfiguration(SystemProxyConfiguration)
SocksProxyConfiguration(SocksProxyConfiguration)
EmptyProxyConfiguration
Trait Implementations§
Source§impl Clone for ProxyConfiguration
impl Clone for ProxyConfiguration
Source§fn clone(&self) -> ProxyConfiguration
fn clone(&self) -> ProxyConfiguration
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 ProxyConfiguration
impl Debug for ProxyConfiguration
Source§impl<'de> Deserialize<'de> for ProxyConfiguration
impl<'de> Deserialize<'de> for ProxyConfiguration
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
Source§impl From<AutodetectProxyConfiguration> for ProxyConfiguration
impl From<AutodetectProxyConfiguration> for ProxyConfiguration
Source§fn from(v: AutodetectProxyConfiguration) -> Self
fn from(v: AutodetectProxyConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<DirectProxyConfiguration> for ProxyConfiguration
impl From<DirectProxyConfiguration> for ProxyConfiguration
Source§fn from(v: DirectProxyConfiguration) -> Self
fn from(v: DirectProxyConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<ManualProxyConfiguration> for ProxyConfiguration
impl From<ManualProxyConfiguration> for ProxyConfiguration
Source§fn from(v: ManualProxyConfiguration) -> Self
fn from(v: ManualProxyConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<PacProxyConfiguration> for ProxyConfiguration
impl From<PacProxyConfiguration> for ProxyConfiguration
Source§fn from(v: PacProxyConfiguration) -> Self
fn from(v: PacProxyConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<SocksProxyConfiguration> for ProxyConfiguration
impl From<SocksProxyConfiguration> for ProxyConfiguration
Source§fn from(v: SocksProxyConfiguration) -> Self
fn from(v: SocksProxyConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<SystemProxyConfiguration> for ProxyConfiguration
impl From<SystemProxyConfiguration> for ProxyConfiguration
Source§fn from(v: SystemProxyConfiguration) -> Self
fn from(v: SystemProxyConfiguration) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProxyConfiguration
impl PartialEq for ProxyConfiguration
Source§impl Serialize for ProxyConfiguration
impl Serialize for ProxyConfiguration
Source§impl TryFrom<ProxyConfiguration> for AutodetectProxyConfiguration
impl TryFrom<ProxyConfiguration> for AutodetectProxyConfiguration
Source§type Error = ProxyConfiguration
type Error = ProxyConfiguration
The type returned in the event of a conversion error.
Source§impl TryFrom<ProxyConfiguration> for DirectProxyConfiguration
impl TryFrom<ProxyConfiguration> for DirectProxyConfiguration
Source§type Error = ProxyConfiguration
type Error = ProxyConfiguration
The type returned in the event of a conversion error.
Source§impl TryFrom<ProxyConfiguration> for ManualProxyConfiguration
impl TryFrom<ProxyConfiguration> for ManualProxyConfiguration
Source§type Error = ProxyConfiguration
type Error = ProxyConfiguration
The type returned in the event of a conversion error.
Source§impl TryFrom<ProxyConfiguration> for PacProxyConfiguration
impl TryFrom<ProxyConfiguration> for PacProxyConfiguration
Source§type Error = ProxyConfiguration
type Error = ProxyConfiguration
The type returned in the event of a conversion error.
Source§impl TryFrom<ProxyConfiguration> for SocksProxyConfiguration
impl TryFrom<ProxyConfiguration> for SocksProxyConfiguration
Source§type Error = ProxyConfiguration
type Error = ProxyConfiguration
The type returned in the event of a conversion error.
Source§impl TryFrom<ProxyConfiguration> for SystemProxyConfiguration
impl TryFrom<ProxyConfiguration> for SystemProxyConfiguration
Source§type Error = ProxyConfiguration
type Error = ProxyConfiguration
The type returned in the event of a conversion error.
impl StructuralPartialEq for ProxyConfiguration
Auto Trait Implementations§
impl Freeze for ProxyConfiguration
impl RefUnwindSafe for ProxyConfiguration
impl Send for ProxyConfiguration
impl Sync for ProxyConfiguration
impl Unpin for ProxyConfiguration
impl UnsafeUnpin for ProxyConfiguration
impl UnwindSafe for ProxyConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more