pub struct NoProxy { /* private fields */ }Expand description
The user’s NO_PROXY: targets matching it are dialled directly (with every check), not
through the upstream. Matching follows Go’s golang.org/x/net/http/httpproxy (which curl
shares in the essentials): * matches everything; name matches the name and the names
under it, .name only those under it; an IP matches that address, a.b.c.d/n a range (a
name target is never resolved to match an IP entry); :port limits an entry to that port.
Implementations§
Trait Implementations§
impl Eq for NoProxy
impl StructuralPartialEq for NoProxy
Auto Trait Implementations§
impl Forget for NoProxy
impl Freeze for NoProxy
impl Move for NoProxy
impl RefUnwindSafe for NoProxy
impl Send for NoProxywhere
RawVecInner: Send,
impl Sync for NoProxywhere
RawVecInner: Sync,
impl Unpin for NoProxy
impl UnsafeUnpin for NoProxy
impl UnwindSafe for NoProxywhere
RawVecInner: UnwindSafe,
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