pub struct FtpOptions {
pub connect_timeout: Duration,
pub read_timeout: Duration,
pub passive_mode: bool,
pub username: String,
pub password: String,
pub keepalive_interval: Option<Duration>,
pub max_retries: u32,
}Expand description
FTP connection configuration options
Fields§
§connect_timeout: Duration§read_timeout: Duration§passive_mode: bool§username: String§password: String§keepalive_interval: Option<Duration>Keep-alive interval for control channel (None to disable)
max_retries: u32Maximum number of retry attempts for transient errors
Trait Implementations§
Source§impl Clone for FtpOptions
impl Clone for FtpOptions
Source§fn clone(&self) -> FtpOptions
fn clone(&self) -> FtpOptions
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 FtpOptions
impl Debug for FtpOptions
Auto Trait Implementations§
impl Freeze for FtpOptions
impl RefUnwindSafe for FtpOptions
impl Send for FtpOptions
impl Sync for FtpOptions
impl Unpin for FtpOptions
impl UnsafeUnpin for FtpOptions
impl UnwindSafe for FtpOptions
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