fetchlib 0.0.13

A lib for remote server connection through ssh
Documentation
1
2
3
4
5
6
7
8
use std::path::Path;

// TODO: populate
pub trait RemoteTransferProtocol {
    type Error: std::error::Error;

    fn read_to_file(&self, source: &Path, destination: &Path) -> Result<usize, Self::Error>;
}