pub enum HttpProxyMode {
FromEnv,
Disabled,
Explicit,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HttpProxyMode
impl Clone for HttpProxyMode
Source§fn clone(&self) -> HttpProxyMode
fn clone(&self) -> HttpProxyMode
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 moreimpl Copy for HttpProxyMode
Source§impl Debug for HttpProxyMode
impl Debug for HttpProxyMode
Source§impl Default for HttpProxyMode
impl Default for HttpProxyMode
Source§fn default() -> HttpProxyMode
fn default() -> HttpProxyMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpProxyMode
impl<'de> Deserialize<'de> for HttpProxyMode
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
impl Eq for HttpProxyMode
Source§impl PartialEq for HttpProxyMode
impl PartialEq for HttpProxyMode
Source§fn eq(&self, other: &HttpProxyMode) -> bool
fn eq(&self, other: &HttpProxyMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpProxyMode
impl Serialize for HttpProxyMode
impl StructuralPartialEq for HttpProxyMode
Auto Trait Implementations§
impl Freeze for HttpProxyMode
impl RefUnwindSafe for HttpProxyMode
impl Send for HttpProxyMode
impl Sync for HttpProxyMode
impl Unpin for HttpProxyMode
impl UnsafeUnpin for HttpProxyMode
impl UnwindSafe for HttpProxyMode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.