Struct path_abs::open::FileOpen [] [src]

pub struct FileOpen { /* fields omitted */ }

INTERNAL TYPE: do not use directly.

Use FileRead, FileWrite or FileEdit instead.

Methods

impl FileOpen
[src]

[src]

Open the file with the given OpenOptions.

[src]

Shortcut to open the file if the path is already absolute.

Typically you should use PathFile::open instead (i.e. file.open(options) or file.read()).

[src]

Get the path associated with the open file.

[src]

Queries metadata about the underlying file.

This function is identical to std::fs::File::metadata except it has error messages which include the action and the path.

[src]

Creates a new independently owned handle to the underlying file.

This function is identical to std::fs::File::try_clone except it has error messages which include the action and the path and it returns a FileOpen object.

Trait Implementations

impl Debug for FileOpen
[src]

[src]

Formats the value using the given formatter. Read more

impl Into<File> for FileOpen
[src]

Important traits for &'a File
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for FileOpen

impl Sync for FileOpen