#[non_exhaustive]pub enum RejectionSource {
ProxyServer,
BypassList,
EnvironmentVariable(String),
Kioslaverc(String),
GSettings(String),
SystemConfiguration(String),
ProxyInfo(String),
}Expand description
Where a rejected value was read from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProxyServer
A Windows ProxyServer-style token.
BypassList
A bypass / no_proxy / ProxyOverride token.
EnvironmentVariable(String)
A process environment variable.
Kioslaverc(String)
A KDE kioslaverc key.
GSettings(String)
A GNOME GSettings key.
SystemConfiguration(String)
A SystemConfiguration proxies key, as macOS’s dynamic store and iOS’s
CFNetworkCopySystemProxySettings() both spell it.
ProxyInfo(String)
An Android ProxyInfo field, read from ConnectivityManager.getDefaultProxy().
Trait Implementations§
Source§impl Clone for RejectionSource
impl Clone for RejectionSource
Source§impl Debug for RejectionSource
impl Debug for RejectionSource
impl Eq for RejectionSource
Source§impl Hash for RejectionSource
impl Hash for RejectionSource
Source§impl PartialEq for RejectionSource
impl PartialEq for RejectionSource
impl StructuralPartialEq for RejectionSource
Auto Trait Implementations§
impl Freeze for RejectionSource
impl RefUnwindSafe for RejectionSource
impl Send for RejectionSource
impl Sync for RejectionSource
impl Unpin for RejectionSource
impl UnsafeUnpin for RejectionSource
impl UnwindSafe for RejectionSource
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