Module fluvio_future::fs

source ·

Modules

Structs

  • File Sink that tracks how much byte it has written This file will not block write operation. It is up to writer to check if maximum file has size is reached since AsyncWrite return IoError
  • A builder for creating directories with configurable options.
  • An entry in a directory.
  • An open file on the filesystem.
  • A structure representing a type of file with accessors for each file type. It is returned by Metadata::file_type method.
  • Metadata information about a file.
  • A builder for opening files with configurable options.
  • Representation of the various permissions on a file.
  • A stream of entries in a directory.

Enums

Traits

Functions

  • Returns the canonical form of a path.
  • Copies a file to a new location.
  • Creates a directory.
  • Creates a directory and its parent directories if they are missing.
  • Creates a hard link on the filesystem.
  • Reads metadata for a path.
  • Reads the entire contents of a file as raw bytes.
  • Returns a stream of entries in a directory.
  • Reads a symbolic link and returns the path it points to.
  • Reads the entire contents of a file as a string.
  • Removes an empty directory.
  • Removes a directory and all of its contents.
  • Removes a file.
  • Renames a file or directory to a new location.
  • Changes the permissions of a file or directory.
  • Reads metadata for a path without following symbolic links.
  • Writes a slice of bytes as the new contents of a file.