[−][src]Struct async_ssh2_lite::AsyncSftp
Implementations
impl<S> AsyncSftp<S>[src]
pub async fn open_mode(
&self,
filename: &Path,
flags: OpenFlags,
mode: i32,
open_type: OpenType
) -> Result<AsyncFile<S>>[src]
&self,
filename: &Path,
flags: OpenFlags,
mode: i32,
open_type: OpenType
) -> Result<AsyncFile<S>>
pub async fn open(&self, filename: &Path) -> Result<AsyncFile<S>>[src]
pub async fn create(&self, filename: &Path) -> Result<AsyncFile<S>>[src]
pub async fn opendir(&self, dirname: &Path) -> Result<AsyncFile<S>>[src]
pub async fn readdir(&self, dirname: &Path) -> Result<Vec<(PathBuf, FileStat)>>[src]
pub async fn mkdir(&self, filename: &Path, mode: i32) -> Result<()>[src]
pub async fn rmdir(&self, filename: &Path) -> Result<()>[src]
pub async fn stat(&self, filename: &Path) -> Result<FileStat>[src]
pub async fn lstat(&self, filename: &Path) -> Result<FileStat>[src]
pub async fn setstat(&self, filename: &Path, stat: FileStat) -> Result<()>[src]
pub async fn symlink(&self, path: &Path, target: &Path) -> Result<()>[src]
pub async fn readlink(&self, path: &Path) -> Result<PathBuf>[src]
pub async fn realpath(&self, path: &Path) -> Result<PathBuf>[src]
pub async fn rename(
&self,
src: &Path,
dst: &Path,
flags: Option<RenameFlags>
) -> Result<()>[src]
&self,
src: &Path,
dst: &Path,
flags: Option<RenameFlags>
) -> Result<()>
pub async fn unlink(&self, file: &Path) -> Result<()>[src]
Auto Trait Implementations
impl<S> !RefUnwindSafe for AsyncSftp<S>[src]
impl<S> Send for AsyncSftp<S> where
S: Send + Sync, [src]
S: Send + Sync,
impl<S> Sync for AsyncSftp<S> where
S: Send + Sync, [src]
S: Send + Sync,
impl<S> Unpin for AsyncSftp<S>[src]
impl<S> !UnwindSafe for AsyncSftp<S>[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,