Expand description
Filesystem implementation.
Macros§
Structs§
- AnyError
- An error that can represent any error.
- Dir
- Represents a directory node in the
monofsimmutable file system. - Extended
Attributes - Extended attributes for a file system entity.
- File
- Represents a file node in the
monofsimmutable file system. - File
Input Stream - A stream for reading from a
Fileasynchronously. - File
Output Stream - A stream for writing to a
Fileasynchronously. - Metadata
- Relevant metadata for a file system entity.
- Soft
Link - Represents a
symbolic linkto a file or directory in themonofsimmutable file system. - Utf8
Unix Path Segment - Represents a single segment of a UTF-8 encoded Unix path.
Enums§
- Entity
- This is an entity in the file system.
- Entity
Type - The kind of an entity in the file system.
- Find
Result - Result type for
find_dir*functions. - Follow
Result - Represents the result of following a softlink.
- FsError
- An error that occurred during a file system operation.
- Link
- A link representing an association between an identifier and some lazily loaded value or just the value itself.
- Sync
Type - The method of syncing to use for the entity used by the filesystem service.
Traits§
- AsyncEq
- An async version of the
Eqtrait. - Async
Partial Eq - An async version of the
PartialEqtrait. - Resolvable
- A trait for types that can be resolved to a target.
- Store
Switchable - A trait for types that can be changed to a different store.
Functions§
- Ok
- Creates an
OkFsResult. - find_
dir - Looks for a directory at the specified path.
- find_
dir_ mut - Looks for a directory at the specified path. This is a mutable version of
find_dir. - find_
or_ create_ dir - Retrieves an existing entity or creates a new one at the specified path.
Type Aliases§
- Attribute
CidLink - A link representing an association between [
Cid] and a lazily loadedExtendedAttributes. - Cached
- A type alias for
OnceCellholding a lazily initialized value. - CidLink
- A link representing an association between
Cidand some lazily loaded value. - Entity
CidLink - A link representing an association between [
Cid] and a lazily loadedEntityor just theEntityitself. - Find
Result Dir - Result type for
find_dirfunction. - Find
Result DirMut - Result type for
find_dir_mutfunction. - FsResult
- The result of a file system operation.