#[non_exhaustive]pub enum AutoProxyReset {
Requested,
TooSoon {
retry_after: Duration,
},
}Available on Windows and crate feature
pac-windows-native and crate feature pac only.Expand description
What WinHttpPacResolver::reset_auto_proxy did.
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.
Requested
The reset was handed to the autoproxy service.
TooSoon
The previous reset from this process was less than 30 seconds ago, inside the window in which the service reports success and does nothing. No call was made.
Trait Implementations§
Source§impl Clone for AutoProxyReset
impl Clone for AutoProxyReset
impl Copy for AutoProxyReset
Source§impl Debug for AutoProxyReset
impl Debug for AutoProxyReset
impl Eq for AutoProxyReset
Source§impl PartialEq for AutoProxyReset
impl PartialEq for AutoProxyReset
impl StructuralPartialEq for AutoProxyReset
Auto Trait Implementations§
impl Freeze for AutoProxyReset
impl RefUnwindSafe for AutoProxyReset
impl Send for AutoProxyReset
impl Sync for AutoProxyReset
impl Unpin for AutoProxyReset
impl UnsafeUnpin for AutoProxyReset
impl UnwindSafe for AutoProxyReset
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