pub struct Sftp { /* private fields */ }
Expand description
See Sftp
.
Implementations§
Source§impl Sftp
impl Sftp
Sourcepub async fn open_mode(
&self,
filename: &Path,
flags: OpenFlags,
mode: i32,
open_type: OpenType,
) -> Result<File, Error>
pub async fn open_mode( &self, filename: &Path, flags: OpenFlags, mode: i32, open_type: OpenType, ) -> Result<File, Error>
See open_mode
.
Sourcepub async fn readdir(
&self,
dirname: &Path,
) -> Result<Vec<(PathBuf, FileStat)>, Error>
pub async fn readdir( &self, dirname: &Path, ) -> Result<Vec<(PathBuf, FileStat)>, Error>
See readdir
.
Sourcepub async fn setstat(
&self,
filename: &Path,
stat: FileStat,
) -> Result<(), Error>
pub async fn setstat( &self, filename: &Path, stat: FileStat, ) -> Result<(), Error>
See setstat
.
Auto Trait Implementations§
impl Freeze for Sftp
impl !RefUnwindSafe for Sftp
impl Send for Sftp
impl Sync for Sftp
impl Unpin for Sftp
impl !UnwindSafe for Sftp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more