bssh-russh-sftp 2.1.2

Temporary fork of russh-sftp 2.1.2 adding pipelined SFTP File I/O (write_all_pipelined / read_to_writer_pipelined). Note: the serde_bytes perf fix that originally motivated this fork is now upstreamed in russh-sftp 2.1.2; only the pipelined helpers remain as fork value-add.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{impl_packet_for, impl_request_id, FileAttributes, Packet, RequestId};

/// Implementation for `SSH_FXP_SETSTAT` and `MKDIR`
#[derive(Debug, Serialize, Deserialize)]
pub struct SetStat {
    pub id: u32,
    pub path: String,
    pub attrs: FileAttributes,
}

impl_request_id!(SetStat);
impl_packet_for!(SetStat);