Struct io_providers::NativeFs[][src]

pub struct NativeFs;

Provides access to native file I/O.

Trait Implementations

impl Debug for NativeFs
[src]

Formats the value using the given formatter. Read more

impl Default for NativeFs
[src]

Returns the "default value" for a type. Read more

impl Fs for NativeFs
[src]

Opens a file at path with the options specified by open_options. Read more

Copies the contents of one file to another. This function will also copy the permission bits of the original file to the destination file. Read more

Creates a new, empty directory at the provided path. Read more

Recursively create a directory and all of its parent components if they are missing. Read more

Creates a new hard link on the filesystem. Read more

Given a path, query the file system to get information about a file, directory, etc. Read more

Read the entire contents of a file into a bytes vector. Read more

Returns an iterator over the entries within a directory. Read more

Reads a symbolic link, returning the file that the link points to. Read more

Read the entire contents of a file into a string. Read more

Removes an existing, empty directory. Read more

Removes a directory at this path, after removing all its contents. Use carefully! Read more

Removes a file from the filesystem. Read more

Rename a file or directory to a new name, replacing the original file if to already exists. Read more

Changes the permissions found on a file or a directory. Read more

Query the metadata about a file without following symlinks. Read more

Write a slice as the entire contents of a file. Read more

Returns whether the path points at an existing entity. Read more

Auto Trait Implementations

impl Send for NativeFs

impl Sync for NativeFs