#[non_exhaustive]pub enum FreeListSource {
TheSpeedXHttp,
ClarketmHttp,
OpenProxyListHttp,
Custom {
url: String,
proxy_type: ProxyType,
},
}Expand description
A well-known free/public proxy list feed.
These lists are community-maintained and quality varies. They are suitable for development and testing. For production use, prefer a commercial provider adapter.
§Example
use stygian_proxy::fetcher::FreeListSource;
let _src = FreeListSource::TheSpeedXHttp;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.
TheSpeedXHttp
HTTP proxies from TheSpeedX/PROXY-List (GitHub, plain host:port).
ClarketmHttp
HTTP proxies from clarketm/proxy-list (GitHub, plain host:port).
OpenProxyListHttp
Mixed HTTP proxies from openproxylist.xyz.
Custom
A custom URL. Content must be one host:port entry per line.
Trait Implementations§
Source§impl Clone for FreeListSource
impl Clone for FreeListSource
Source§fn clone(&self) -> FreeListSource
fn clone(&self) -> FreeListSource
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 FreeListSource
impl Debug for FreeListSource
Source§impl PartialEq for FreeListSource
impl PartialEq for FreeListSource
impl Eq for FreeListSource
impl StructuralPartialEq for FreeListSource
Auto Trait Implementations§
impl Freeze for FreeListSource
impl RefUnwindSafe for FreeListSource
impl Send for FreeListSource
impl Sync for FreeListSource
impl Unpin for FreeListSource
impl UnsafeUnpin for FreeListSource
impl UnwindSafe for FreeListSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.