pub struct FileTransferOptions { /* private fields */ }Expand description
File transfer options for send/recv operations
Implementations§
Source§impl FileTransferOptions
impl FileTransferOptions
Sourcepub fn hold_timestamp(self, enable: bool) -> Self
pub fn hold_timestamp(self, enable: bool) -> Self
Hold target file timestamp
Trait Implementations§
Source§impl Clone for FileTransferOptions
impl Clone for FileTransferOptions
Source§fn clone(&self) -> FileTransferOptions
fn clone(&self) -> FileTransferOptions
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 FileTransferOptions
impl Debug for FileTransferOptions
Source§impl Default for FileTransferOptions
impl Default for FileTransferOptions
Source§fn default() -> FileTransferOptions
fn default() -> FileTransferOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileTransferOptions
impl RefUnwindSafe for FileTransferOptions
impl Send for FileTransferOptions
impl Sync for FileTransferOptions
impl Unpin for FileTransferOptions
impl UnwindSafe for FileTransferOptions
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