TraitFileClient

Trait TraitFileClient 

Source
pub trait TraitFileClient: Sync + Send {
    // Provided methods
    fn download_files(
        &self,
        _local_dir: &str,
        _remote_dir: &str,
        _files: &Vec<String>,
    ) -> Result<()> { ... }
    fn upload_files(
        &self,
        _local_dir: &str,
        _remote_dir: &str,
        _files: &Vec<String>,
    ) -> Result<()> { ... }
    fn remove_local_files(
        &self,
        _local_dir: &str,
        _files: &Vec<String>,
    ) -> Result<()> { ... }
    fn remove_local_dir(&self, _local_dir: &str) -> Result<()> { ... }
}

Provided Methods§

Source

fn download_files( &self, _local_dir: &str, _remote_dir: &str, _files: &Vec<String>, ) -> Result<()>

Source

fn upload_files( &self, _local_dir: &str, _remote_dir: &str, _files: &Vec<String>, ) -> Result<()>

Source

fn remove_local_files( &self, _local_dir: &str, _files: &Vec<String>, ) -> Result<()>

Source

fn remove_local_dir(&self, _local_dir: &str) -> Result<()>

Implementors§