#[non_exhaustive]pub enum RejectionKind {
InvalidProxyEndpoint,
InvalidBypassPattern,
UnknownProxyScheme,
UnsupportedMapping,
}Expand description
Why one configuration value was ignored.
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.
InvalidProxyEndpoint
A proxy endpoint or URL could not be parsed.
InvalidBypassPattern
A bypass-list entry could not be parsed.
UnknownProxyScheme
A named proxy scheme was not recognised.
UnsupportedMapping
The source expressed a setting this crate cannot model.
Trait Implementations§
Source§impl Clone for RejectionKind
impl Clone for RejectionKind
impl Copy for RejectionKind
Source§impl Debug for RejectionKind
impl Debug for RejectionKind
impl Eq for RejectionKind
Source§impl Hash for RejectionKind
impl Hash for RejectionKind
Source§impl PartialEq for RejectionKind
impl PartialEq for RejectionKind
impl StructuralPartialEq for RejectionKind
Auto Trait Implementations§
impl Freeze for RejectionKind
impl RefUnwindSafe for RejectionKind
impl Send for RejectionKind
impl Sync for RejectionKind
impl Unpin for RejectionKind
impl UnsafeUnpin for RejectionKind
impl UnwindSafe for RejectionKind
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