Module blobfs::blob

source ·
Expand description

Typesafe wrappers around writing blobs to blobfs.

Structs

  • State for a blob that is present, readable, and has a seek position at the end.
  • A blob in the process of being written.
  • A handle to a blob that must be explicitly closed to prevent future opens of the same blob from racing with this blob closing.
  • State for a blob that can be written to.
  • State for a blob that can be truncated.

Enums

  • An error encountered while creating a blob
  • An error encountered while reusing a written blob handle to read
  • An error encountered while truncating a blob
  • The successful result of truncating a blob to its size.
  • An error encountered while writing to a blob
  • The successful result of writing some data to a blob.