pub struct FtpDownloadOptions {
pub buffer_size: usize,
pub resume_offset: Option<u64>,
pub max_retries: u32,
pub binary_mode: bool,
pub data_connect_timeout: Duration,
pub recursive_download: bool,
}Expand description
FTP download configuration options
Fields§
§buffer_size: usize§resume_offset: Option<u64>§max_retries: u32§binary_mode: boolTransfer mode (binary or ASCII)
data_connect_timeout: DurationTimeout for data connection establishment
recursive_download: boolWhether to download directories recursively
Trait Implementations§
Source§impl Clone for FtpDownloadOptions
impl Clone for FtpDownloadOptions
Source§fn clone(&self) -> FtpDownloadOptions
fn clone(&self) -> FtpDownloadOptions
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 FtpDownloadOptions
impl Debug for FtpDownloadOptions
Auto Trait Implementations§
impl Freeze for FtpDownloadOptions
impl RefUnwindSafe for FtpDownloadOptions
impl Send for FtpDownloadOptions
impl Sync for FtpDownloadOptions
impl Unpin for FtpDownloadOptions
impl UnsafeUnpin for FtpDownloadOptions
impl UnwindSafe for FtpDownloadOptions
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