pub enum Downloader {
Curl,
Wget,
PowerShell,
Python3,
Tunnel,
Tcp,
OpenSSL,
}Expand description
A supported download backend.
Variants§
Curl
Use curl.
Wget
Use wget.
PowerShell
Use PowerShell (pwsh/powershell).
Python3
Use Python urllib.
Tunnel
Minimal HTTP/HTTPS tunnel: TCP for HTTP, OpenSSL (openssl s_client) for HTTPS.
Tcp
Plain HTTP/1.1 over a TCP socket only (no TLS).
OpenSSL
HTTPS via OpenSSL only (openssl s_client).
Trait Implementations§
Source§impl Clone for Downloader
impl Clone for Downloader
Source§fn clone(&self) -> Downloader
fn clone(&self) -> Downloader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Downloader
impl Debug for Downloader
Source§impl PartialEq for Downloader
impl PartialEq for Downloader
Source§fn eq(&self, other: &Downloader) -> bool
fn eq(&self, other: &Downloader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Downloader
impl Eq for Downloader
impl StructuralPartialEq for Downloader
Auto Trait Implementations§
impl Freeze for Downloader
impl RefUnwindSafe for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl UnsafeUnpin for Downloader
impl UnwindSafe for Downloader
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