[][src]Struct async_ssh2_lite::AsyncSftp

pub struct AsyncSftp<S> { /* fields omitted */ }

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]

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 realpath(&self, path: &Path) -> Result<PathBuf>[src]

pub async fn rename(
    &self,
    src: &Path,
    dst: &Path,
    flags: Option<RenameFlags>
) -> Result<()>
[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for AsyncSftp<S>[src]

impl<S> Send for AsyncSftp<S> where
    S: Send + Sync
[src]

impl<S> Sync for AsyncSftp<S> where
    S: Send + Sync
[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.