pub fn new_symlink<T: AsRef<Path>>(target: T) -> Result<File> {
        let dir = Dir::new("bdrck")?;
        let path = dir.sub_path("tempfile")?;
        let ret = File {
            _dir: Some(dir),
            path: path,
        };
        create_symlink(target, ret.path.as_path())?;
        Ok(ret)
    }
/// Create a new temporary symlink within the standard system temporary
/// directory, pointing at the given target.
Create a new temporary symlink within the standard system temporary
directory, pointing at the given target.
Create a new temporary symlink within the standard system temporary directory pointing at the given target .
pub fn new_symlink<T: AsRef<Path>>(target: T) -> Result<File> {
        let dir = Dir::new("bdrck")?;
        let path = dir.sub_path("tempfile")?;
        let ret = File {
            _dir: Some(dir),
            path: path,
        };
        create_symlink(target, ret.path.as_path())?;
        Ok(ret)
    }
pub fn new_symlink < T : AsRef < Path > > ( target : T ) -> Result < File > { let dir = Dir :: new ( " " ) ? ; let path = dir . sub_path ( " " ) ? ; let ret = File { _dir : Some ( dir ) , path : path , } ; create_symlink ( target , ret . path . as_path ( ) ) ? ; Ok ( ret ) }
Create a new temporary symlink within the standard system temporary
directory, pointing at the given target.
Create a new temporary symlink within the standard system temporary directory pointing at the given target .
target
T
target
T