Expand description
Filesystem implementation.
Macros§
Structs§
- AnyError
- An error that can represent any error.
- Dir
- Represents a directory node in the
monofs
immutable file system. - Extended
Attributes - Extended attributes for a file system entity.
- File
- Represents a file node in the
monofs
immutable file system. - File
Input Stream - A stream for reading from a
File
asynchronously. - File
Output Stream - A stream for writing to a
File
asynchronously. - Metadata
- Relevant metadata for a file system entity.
- Soft
Link - Represents a
symbolic link
to a file or directory in themonofs
immutable 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
Eq
trait. - Async
Partial Eq - An async version of the
PartialEq
trait. - 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
Ok
FsResult
. - 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
OnceCell
holding a lazily initialized value. - CidLink
- A link representing an association between
Cid
and some lazily loaded value. - Entity
CidLink - A link representing an association between [
Cid
] and a lazily loadedEntity
or just theEntity
itself. - Find
Result Dir - Result type for
find_dir
function. - Find
Result DirMut - Result type for
find_dir_mut
function. - FsResult
- The result of a file system operation.