[−][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]
&'_ self,
filename: &'_ Path
) -> Result<AsyncFile<S>>
pub async fn opendir<'_, '_>(
&'_ self,
dirname: &'_ Path
) -> Result<AsyncFile<S>>
[src]
&'_ self,
dirname: &'_ Path
) -> Result<AsyncFile<S>>
pub async fn readdir<'_, '_>(
&'_ self,
dirname: &'_ Path
) -> Result<Vec<(PathBuf, FileStat)>>
[src]
&'_ self,
dirname: &'_ Path
) -> Result<Vec<(PathBuf, FileStat)>>
pub async fn mkdir<'_, '_>(
&'_ self,
filename: &'_ Path,
mode: i32
) -> Result<()>
[src]
&'_ self,
filename: &'_ Path,
mode: i32
) -> Result<()>
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]
&'_ self,
filename: &'_ Path,
stat: FileStat
) -> Result<()>
pub async fn symlink<'_, '_, '_>(
&'_ self,
path: &'_ Path,
target: &'_ Path
) -> Result<()>
[src]
&'_ self,
path: &'_ Path,
target: &'_ Path
) -> Result<()>
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>
impl<S> Send for AsyncSftp<S> where
S: Send + Sync,
S: Send + Sync,
impl<S> Sync for AsyncSftp<S> where
S: Send + Sync,
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]
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,
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.
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>,