[][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>

impl<S> Send for AsyncSftp<S> where
    S: Send + Sync

impl<S> Sync for AsyncSftp<S> where
    S: Send + Sync

impl<S> Unpin for AsyncSftp<S>

impl<S> !UnwindSafe for AsyncSftp<S>

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.