pub async fn entries(&self) -> Result<Vec<String>> {
        match readdir(&self.proxy).await {
            Ok(entries) => Ok(entries.into_iter().map(|e| e.name).collect()),
            Err(e) => Err(format_err!(
                "Could not get entries of `{}`: {}",
                self.path.as_path().display(),
                e
            )),
        }
    }
// Return a list of directory entries in the directory
Return a list of directory entries in the directory
Return a list of directory entries in the directory
pub async fn entries(&self) -> Result<Vec<String>> {
        match readdir(&self.proxy).await {
            Ok(entries) => Ok(entries.into_iter().map(|e| e.name).collect()),
            Err(e) => Err(format_err!(
                "Could not get entries of `{}`: {}",
                self.path.as_path().display(),
                e
            )),
        }
    }
pub async fn entries ( & self ) -> Result < Vec < String > > { match readdir ( & self . proxy ) . await { Ok ( entries ) => Ok ( entries . into_iter ( ) . map ( | e | e . name ) . collect ( ) ) , Err ( e ) => Err ( format_err ! ( " " self path as_path ( ) display ( ) e ) ) , } }
Return a list of directory entries in the directory
Return a list of directory entries in the directory
&self
&self