pub enum ProxyBodyVerdict {
Success,
ProxyBlocked,
Passthrough,
}Expand description
Result of classifying a response body from a proxy.
Variants§
Success
Response is good. Proxy records a success.
ProxyBlocked
Proxy is blocked (e.g. captcha, anti-bot). Records failure, retries with another proxy.
Passthrough
Server-side issue unrelated to proxy. Returns response as-is without affecting proxy stats.
Trait Implementations§
Source§impl Clone for ProxyBodyVerdict
impl Clone for ProxyBodyVerdict
Source§fn clone(&self) -> ProxyBodyVerdict
fn clone(&self) -> ProxyBodyVerdict
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxyBodyVerdict
impl Debug for ProxyBodyVerdict
Source§impl PartialEq for ProxyBodyVerdict
impl PartialEq for ProxyBodyVerdict
impl Copy for ProxyBodyVerdict
impl StructuralPartialEq for ProxyBodyVerdict
Auto Trait Implementations§
impl Freeze for ProxyBodyVerdict
impl RefUnwindSafe for ProxyBodyVerdict
impl Send for ProxyBodyVerdict
impl Sync for ProxyBodyVerdict
impl Unpin for ProxyBodyVerdict
impl UnsafeUnpin for ProxyBodyVerdict
impl UnwindSafe for ProxyBodyVerdict
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