pub fn remove_dir<P: AsPath>(&self, path: P)
        -> io::Result<()>
    {
        self._unlink(to_cstr(path)?.as_ref(), 0)
    }
/// Remove a subdirectory in this directory
///
/// Note only empty directory may be removed
Remove a subdirectory in this directory
Note only empty directory may be removed
Remove a subdirectory in this directory Note only empty directory may be removed
pub fn remove_dir<P: AsPath>(&self, path: P)
        -> io::Result<()>
    {
        self._unlink(to_cstr(path)?.as_ref(), 0)
    }
pub fn remove_dir < P : AsPath > ( & self , path : P ) -> io :: Result < ( ) > { self . _unlink ( to_cstr ( path ) ? . as_ref ( ) , 0 ) }
Remove a subdirectory in this directory
Note only empty directory may be removed
Remove a subdirectory in this directory Note only empty directory may be removed
&self
path
P
&self
path
P