russh-sftp 2.3.0

SFTP subsystem supported server and client for Russh
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_MKDIR`
#[derive(Debug, Serialize, Deserialize)]
pub struct MkDir {
    pub id: u32,
    pub path: String,
    pub attrs: FileAttributes,
}

impl_request_id!(MkDir);
impl_packet_for!(MkDir);