Struct swarm_ssh::UploadTask

source ·
pub struct UploadTask<'s> { /* private fields */ }
Expand description

Create a download task, note that the execute command needs to be [DownloadTask::activated]

Arguments

  • remote_path:

returns: Result<DownloadTask, QError>

Examples

use swarm_ssh::SwarmSSH;

Implementations§

Get current permission setting

Set permissions after file upload

Set permissions after file upload

Get current target path

Set target path after file upload

Set target path after file upload

Execute this upload task

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.